Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim > Class Template Reference

Public Types

using Morton = shamrock::sfc::MortonCodes< Tmorton, dim >
 
using MortonConvert = shamrock::sfc::MortonConverter< Tmorton, Tvec, dim >
 
using pos_t = Tvec
 
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< typename Morton::int_vec_repr, Tvec >
 

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 Tmorton, class Tvec, u32 dim>
class shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim >

Definition at line 33 of file MortonCodeSet.cpp.

Member Typedef Documentation

◆ coord_t

template<class Tmorton , class Tvec , u32 dim>
using shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim >::coord_t = typename shambase::VectorProperties<pos_t>::component_type

Definition at line 40 of file MortonCodeSet.cpp.

◆ CoordTransform

template<class Tmorton , class Tvec , u32 dim>
using shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim >::CoordTransform = shammath::CoordRangeTransform<typename Morton::int_vec_repr, Tvec>

Definition at line 44 of file MortonCodeSet.cpp.

◆ int_t

template<class Tmorton , class Tvec , u32 dim>
using shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim >::int_t = typename Morton::int_vec_repr_base

Definition at line 42 of file MortonCodeSet.cpp.

◆ ipos_t

template<class Tmorton , class Tvec , u32 dim>
using shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim >::ipos_t = typename Morton::int_vec_repr

Definition at line 41 of file MortonCodeSet.cpp.

◆ Morton

template<class Tmorton , class Tvec , u32 dim>
using shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim >::Morton = shamrock::sfc::MortonCodes<Tmorton, dim>

Definition at line 36 of file MortonCodeSet.cpp.

◆ MortonConvert

template<class Tmorton , class Tvec , u32 dim>
using shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim >::MortonConvert = shamrock::sfc::MortonConverter<Tmorton, Tvec, dim>

Definition at line 37 of file MortonCodeSet.cpp.

◆ pos_t

template<class Tmorton , class Tvec , u32 dim>
using shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim >::pos_t = Tvec

Definition at line 39 of file MortonCodeSet.cpp.

Member Function Documentation

◆ get_transform()

template<class Tmorton , class Tvec , u32 dim>
static CoordTransform shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim >::get_transform ( pos_t  bounding_box_min,
pos_t  bounding_box_max 
)
inlinestatic

Definition at line 47 of file MortonCodeSet.cpp.

◆ to_morton_grid()

template<class Tmorton , class Tvec , u32 dim>
static ipos_t shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim >::to_morton_grid ( pos_t  pos,
CoordTransform  transform 
)
inlinestatic

Definition at line 51 of file MortonCodeSet.cpp.

◆ to_real_space()

template<class Tmorton , class Tvec , u32 dim>
static pos_t shamtree::details::MortonKernelsUtils< Tmorton, Tvec, dim >::to_real_space ( ipos_t  pos,
CoordTransform  transform 
)
inlinestatic

Definition at line 55 of file MortonCodeSet.cpp.


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