|
quadgrid 0.1
simple cartesian quad grid with particles for c++/octave
|
#include <cstdint>#include <numeric>Go to the source code of this file.
Typedefs | |
| using | coord_t = uint_least32_t |
| using | morton_code_t = uint_fast64_t |
Functions | |
| morton_code_t | coord_2_morton (coord_t _x, coord_t _y) |
| void | morton_2_coord (morton_code_t code, coord_t &_x, coord_t &_y) |
Variables | |
| constexpr coord_t | max_level = 31 |
| constexpr coord_t | max_coord = std::numeric_limits<coord_t>::max () |
| using coord_t = uint_least32_t |
| using morton_code_t = uint_fast64_t |
| morton_code_t coord_2_morton | ( | coord_t | _x, |
| coord_t | _y ) |
| void morton_2_coord | ( | morton_code_t | code, |
| coord_t & | _x, | ||
| coord_t & | _y ) |
|
constexpr |