![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Collaboration diagram for shamrock::patch::PatchCoord< dim >:Public Member Functions | |
| PatchCoord (std::array< u64, dim > coord_min, std::array< u64, dim > coord_max) | |
| auto | split () -> std::array< PatchCoord, splts_count > |
| shammath::CoordRange< u64_3 > | get_patch_range () const |
Static Public Member Functions | |
| static auto | get_split_coord (std::array< u64, dim > coord_min, std::array< u64, dim > coord_max) -> std::array< u64, dim > |
| static auto | get_split (std::array< u64, dim > coord_min, std::array< u64, dim > coord_max) -> std::array< PatchCoord, splts_count > |
| static PatchCoord | merge (PatchCoord c1, PatchCoord c2) |
| static PatchCoord | merge (std::array< PatchCoord, splts_count > others) |
| template<class T > | |
| static std::tuple< sycl::vec< T, 3 >, sycl::vec< T, 3 > > | convert_coord (std::array< u64, dim > coord_min, std::array< u64, dim > coord_max, std::array< u64, dim > pcoord_offset, sycl::vec< T, 3 > divfact, sycl::vec< T, 3 > offset) |
Public Attributes | |
| std::array< u64, dim > | coord_min |
| std::array< u64, dim > | coord_max |
Static Public Attributes | |
| static constexpr u32 | splts_count = 1U << dim |
Definition at line 24 of file PatchCoord.hpp.
|
inline |
Definition at line 33 of file PatchCoord.hpp.
|
inlinestatic |
Definition at line 142 of file PatchCoord.hpp.
|
inline |
Definition at line 135 of file PatchCoord.hpp.
|
inlinestatic |
Definition at line 45 of file PatchCoord.hpp.
|
inlinestatic |
Definition at line 36 of file PatchCoord.hpp.
|
inlinestatic |
Definition at line 119 of file PatchCoord.hpp.
|
inlinestatic |
Definition at line 129 of file PatchCoord.hpp.
|
inline |
Definition at line 115 of file PatchCoord.hpp.
| std::array<u64, dim> shamrock::patch::PatchCoord< dim >::coord_max |
Definition at line 29 of file PatchCoord.hpp.
| std::array<u64, dim> shamrock::patch::PatchCoord< dim >::coord_min |
Definition at line 28 of file PatchCoord.hpp.
|
staticconstexpr |
Definition at line 26 of file PatchCoord.hpp.