![]() |
Shamrock 2025.10.0
Astrophysical Code
|
The AMR grid only sees the grid as an integer map. More...
#include <shamrock/include/shamrock/amr/AMRGrid.hpp>
Collaboration diagram for shamrock::amr::AMRGrid< Tcoord, dim >:Public Types | |
| using | CellCoord = AMRBlockCoord< Tcoord, dim > |
Public Member Functions | |
| void | check_amr_main_fields () |
| AMRGrid (PatchScheduler &scheduler) | |
| shambase::DistributedData< OptIndexList > | gen_refinelists_native (std::function< void(u64, patch::Patch, patch::PatchDataLayer &, sycl::buffer< u32 > &)> fct) |
| generate split lists for all patchdata owned by the node | |
| template<class UserAcc , class Fct , class... T> | |
| shambase::DistributedData< OptIndexList > | gen_refine_list (Fct &&lambd, T &&...args) |
| u64 | get_process_refine_count (shambase::DistributedData< OptIndexList > &splits) |
| template<class UserAcc , class Fct > | |
| shambase::DistributedData< OptIndexList > | gen_merge_list (Fct &&lambd) |
| template<class UserAcc , class Fct > | |
| void | apply_splits (shambase::DistributedData< OptIndexList > &&splts, Fct &&lambd) |
| template<class UserAcc , class Fct > | |
| void | apply_merge (shambase::DistributedData< OptIndexList > &&splts, Fct &&lambd) |
| void | make_base_grid (Tcoord bmin, Tcoord cell_size, std::array< u32, dim > cell_count) |
Public Attributes | |
| PatchScheduler & | sched |
Static Public Attributes | |
| static constexpr u32 | dimension = dim |
| static constexpr u32 | split_count = CellCoord::splts_count |
The AMR grid only sees the grid as an integer map.
| Tcoord | |
| dim |
Definition at line 44 of file AMRGrid.hpp.
| using shamrock::amr::AMRGrid< Tcoord, dim >::CellCoord = AMRBlockCoord<Tcoord, dim> |
Definition at line 48 of file AMRGrid.hpp.
|
inlineexplicit |
Definition at line 72 of file AMRGrid.hpp.
|
inline |
Definition at line 359 of file AMRGrid.hpp.
|
inline |
| UserAcc | |
| Fct |
| splts | |
| lambd |
Definition at line 274 of file AMRGrid.hpp.
Here is the call graph for this function:
|
inline |
Definition at line 52 of file AMRGrid.hpp.
|
inline |
Definition at line 163 of file AMRGrid.hpp.
|
inline |
Definition at line 125 of file AMRGrid.hpp.
|
inline |
generate split lists for all patchdata owned by the node
| Fct |
| f |
Definition at line 88 of file AMRGrid.hpp.
Here is the call graph for this function:
|
inline |
Definition at line 152 of file AMRGrid.hpp.
|
inline |
Definition at line 466 of file AMRGrid.hpp.
|
staticconstexpr |
Definition at line 49 of file AMRGrid.hpp.
| PatchScheduler& shamrock::amr::AMRGrid< Tcoord, dim >::sched |
Definition at line 46 of file AMRGrid.hpp.
|
staticconstexpr |
Definition at line 50 of file AMRGrid.hpp.