include/pops/coupling/amr/amr_level_storage.hpp Source FileΒΆ
|
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
|
amr_level_storage.hpp
Go to the documentation of this file.
Box2D: the integer index space of a 2D cell-centered Cartesian grid.
Owns the AMR level stack and the parallel aux stack.
Definition amr_level_storage.hpp:28
AmrLevelStack(const Box2D &dom, std::vector< Level > levels, int aux_ncomp=kAuxBaseComps)
Builds the stack: takes ownership of levels, allocates an aux (aux_ncomp components,...
Definition amr_level_storage.hpp:32
const std::vector< Level > & levels() const
Definition amr_level_storage.hpp:43
Field distributed over a level: decomposition (BoxArray) + distribution (DistributionMapping) + ncomp...
Definition multifab.hpp:33
MultiFab: a field DISTRIBUTED over a level (equivalent of AMReX's MultiFab).
Definition amr_hierarchy.hpp:29
Pointwise types of the physics layer: StateVec<N> (conserved state) and Aux (auxiliary fields from th...
Base scalar types and the POPS_HD macro (host+device portability).
Generated by