Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
shamrock::sfc::MortonConverter< morton_t, _pos_t, dim > Class Template Reference

Public Types

using Morton = MortonCodes< morton_t, dim >
 
using pos_t = _pos_t
 
using coord_t = typename shambase::VectorProperties< pos_t >::component_type
 
using ipos_t = typename Morton::int_vec_repr
 
using int_t = typename Morton::int_vec_repr_base
 
using CoordTransform = shammath::CoordRangeTransform< ipos_t, pos_t >
 

Static Public Member Functions

static CoordTransform get_transform (pos_t bounding_box_min, pos_t bounding_box_max)
 
static ipos_t to_morton_grid (pos_t pos, CoordTransform transform)
 
static pos_t to_real_space (ipos_t pos, CoordTransform transform)
 

Detailed Description

template<class morton_t, class _pos_t, u32 dim>
class shamrock::sfc::MortonConverter< morton_t, _pos_t, dim >

Definition at line 183 of file morton.hpp.

Member Typedef Documentation

◆ coord_t

template<class morton_t , class _pos_t , u32 dim>
using shamrock::sfc::MortonConverter< morton_t, _pos_t, dim >::coord_t = typename shambase::VectorProperties<pos_t>::component_type

Definition at line 189 of file morton.hpp.

◆ CoordTransform

template<class morton_t , class _pos_t , u32 dim>
using shamrock::sfc::MortonConverter< morton_t, _pos_t, dim >::CoordTransform = shammath::CoordRangeTransform<ipos_t, pos_t>

Definition at line 193 of file morton.hpp.

◆ int_t

template<class morton_t , class _pos_t , u32 dim>
using shamrock::sfc::MortonConverter< morton_t, _pos_t, dim >::int_t = typename Morton::int_vec_repr_base

Definition at line 191 of file morton.hpp.

◆ ipos_t

template<class morton_t , class _pos_t , u32 dim>
using shamrock::sfc::MortonConverter< morton_t, _pos_t, dim >::ipos_t = typename Morton::int_vec_repr

Definition at line 190 of file morton.hpp.

◆ Morton

template<class morton_t , class _pos_t , u32 dim>
using shamrock::sfc::MortonConverter< morton_t, _pos_t, dim >::Morton = MortonCodes<morton_t, dim>

Definition at line 186 of file morton.hpp.

◆ pos_t

template<class morton_t , class _pos_t , u32 dim>
using shamrock::sfc::MortonConverter< morton_t, _pos_t, dim >::pos_t = _pos_t

Definition at line 188 of file morton.hpp.

Member Function Documentation

◆ get_transform()

template<class morton_t , class _pos_t , u32 dim>
static CoordTransform shamrock::sfc::MortonConverter< morton_t, _pos_t, dim >::get_transform ( pos_t  bounding_box_min,
pos_t  bounding_box_max 
)
inlinestatic

Definition at line 206 of file morton.hpp.

◆ to_morton_grid()

template<class morton_t , class _pos_t , u32 dim>
static ipos_t shamrock::sfc::MortonConverter< morton_t, _pos_t, dim >::to_morton_grid ( pos_t  pos,
CoordTransform  transform 
)
inlinestatic

Definition at line 213 of file morton.hpp.

◆ to_real_space()

template<class morton_t , class _pos_t , u32 dim>
static pos_t shamrock::sfc::MortonConverter< morton_t, _pos_t, dim >::to_real_space ( ipos_t  pos,
CoordTransform  transform 
)
inlinestatic

Definition at line 226 of file morton.hpp.


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