include/pops/mesh/layout/box_array.hpp File ReferenceΒΆ

adc_cpp: include/pops/mesh/layout/box_array.hpp File Reference
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
box_array.hpp File Reference

BoxArray: the set of boxes tiling a level (disjoint, covering). More...

#include <pops/mesh/index/box2d.hpp>
#include <cstdint>
#include <utility>
#include <vector>
+ Include dependency graph for box_array.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pops::BoxArray
 Ordered list of boxes tiling a level. More...
 

Namespaces

namespace  pops
 

Detailed Description

BoxArray: the set of boxes tiling a level (disjoint, covering).

Equivalent of AMReX's BoxArray. from_domain splits a domain into tiles of at most max_grid_size per direction, distributed as EVENLY as possible (better balancing than greedy chunks). Carries NO field data and no MPI distribution (cf. MultiFab / DistributionMapping): it is only the geometric decomposition of the level.