Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamrock::patch::PatchCoordTransform< Tcoord > Class Template Reference

Public Member Functions

 PatchCoordTransform (shammath::CoordRange< u64_3 > patch_range, shammath::CoordRange< Tcoord > obj_range)
shammath::CoordRange< Tcoord > to_obj_coord (shammath::CoordRange< u64_3 > p) const
shammath::AABB< Tcoord > to_obj_coord (shammath::AABB< u64_3 > p) const
PatchCoord< 3 > to_patch_coord (shammath::CoordRange< Tcoord > obj) const
shammath::CoordRange< Tcoord > to_obj_coord (Patch p) const
void print_transform () const

Detailed Description

template<class Tcoord>
class shamrock::patch::PatchCoordTransform< Tcoord >

Definition at line 29 of file PatchCoordTransform.hpp.

Constructor & Destructor Documentation

◆ PatchCoordTransform()

template<class Tcoord>
shamrock::patch::PatchCoordTransform< Tcoord >::PatchCoordTransform ( shammath::CoordRange< u64_3 > patch_range,
shammath::CoordRange< Tcoord > obj_range )
inline

Definition at line 36 of file PatchCoordTransform.hpp.

Member Function Documentation

◆ print_transform()

template<class Tcoord>
void shamrock::patch::PatchCoordTransform< Tcoord >::print_transform ( ) const
inline

Definition at line 57 of file PatchCoordTransform.hpp.

◆ to_obj_coord() [1/3]

template<class Tcoord>
shammath::CoordRange< Tcoord > shamrock::patch::PatchCoordTransform< Tcoord >::to_obj_coord ( Patch p) const
inline

Definition at line 53 of file PatchCoordTransform.hpp.

◆ to_obj_coord() [2/3]

template<class Tcoord>
shammath::AABB< Tcoord > shamrock::patch::PatchCoordTransform< Tcoord >::to_obj_coord ( shammath::AABB< u64_3 > p) const
inline

Definition at line 44 of file PatchCoordTransform.hpp.

◆ to_obj_coord() [3/3]

template<class Tcoord>
shammath::CoordRange< Tcoord > shamrock::patch::PatchCoordTransform< Tcoord >::to_obj_coord ( shammath::CoordRange< u64_3 > p) const
inline

Definition at line 40 of file PatchCoordTransform.hpp.

◆ to_patch_coord()

template<class Tcoord>
PatchCoord< 3 > shamrock::patch::PatchCoordTransform< Tcoord >::to_patch_coord ( shammath::CoordRange< Tcoord > obj) const
inline

Definition at line 49 of file PatchCoordTransform.hpp.


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