Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamrock::sfc::HilbertCurve< u64, 3 > Class Reference

Public Types

using int_vec_repr_base = u32
using int_vec_repr = u32_3

Static Public Member Functions

static u64 icoord_to_hilbert (u64 x, u64 y, u64 z)
template<class flt>
static u64 coord_to_hilbert (flt x, flt y, flt z)

Static Public Attributes

static constexpr int_vec_repr_base max_val = 2097152 - 1

Detailed Description

Definition at line 79 of file hilbert.hpp.

Member Typedef Documentation

◆ int_vec_repr

using shamrock::sfc::HilbertCurve< u64, 3 >::int_vec_repr = u32_3

Definition at line 82 of file hilbert.hpp.

◆ int_vec_repr_base

using shamrock::sfc::HilbertCurve< u64, 3 >::int_vec_repr_base = u32

Definition at line 81 of file hilbert.hpp.

Member Function Documentation

◆ coord_to_hilbert()

template<class flt>
u64 shamrock::sfc::HilbertCurve< u64, 3 >::coord_to_hilbert ( flt x,
flt y,
flt z )
inlinestatic

Definition at line 90 of file hilbert.hpp.

◆ icoord_to_hilbert()

u64 shamrock::sfc::HilbertCurve< u64, 3 >::icoord_to_hilbert ( u64 x,
u64 y,
u64 z )
inlinestatic

Definition at line 85 of file hilbert.hpp.

Member Data Documentation

◆ max_val

int_vec_repr_base shamrock::sfc::HilbertCurve< u64, 3 >::max_val = 2097152 - 1
staticconstexpr

Definition at line 83 of file hilbert.hpp.


The documentation for this class was generated from the following file: