Function exafmm_t::get3DIndex(vec3, int, vec3, real_t)¶
Defined in File hilbert.h
Function Documentation¶
-
ivec3 exafmm_t::get3DIndex(vec3 X, int level, vec3 x0, real_t r0)¶
Given bounding box and level, get 3D index from 3D coordinates.
- Parameters
X – 3D coordinates.
level – Level.
x0 – Coordinates of the center of the bounding box.
r0 – Half of the side length of the bounding box.
- Returns
ivec3 3D index, an integer triplet.