EBGeometry
1.0
|
Implementation of a nested index SFC. More...
#include <EBGeometry_SFC.hpp>
Static Public Member Functions | |
static uint64_t | encode (const Index &a_point) noexcept |
Encode the input point into the SFC code. More... | |
static Index | decode (const uint64_t &a_code) noexcept |
Decode the 64-bit SFC code into an Index. More... | |
Implementation of a nested index SFC.
The SFC is encoded by the code = i + j * N + k * N * N in 3D, where i,j,k are the block indices.
|
inlinestaticnoexcept |
Decode the 64-bit SFC code into an Index.
[in] | a_code | SFC code. |
|
inlinestaticnoexcept |
Encode the input point into the SFC code.
[in] | a_point |