Function exafmm_t::getCoordinates

Function Documentation

vec3 exafmm_t::getCoordinates(ivec3 iX, int level, vec3 x0, real_t r0)

Given bounding box and level, get 3D coordinates from 3D index.

Parameters
  • iX – 3D index, an integer triplet.

  • level – Level.

  • x0 – Coordinates of the center of the bounding box.

  • r0 – Half of the side length of the bounding box.

Returns

vec3 3D coordinates.