include/pops/mesh/boundary/halo_schedule.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
|
halo_schedule.hpp
Go to the documentation of this file.
Box2D: the integer index space of a 2D cell-centered Cartesian grid.
Small per-MultiFab cache of halo schedules, one entry per distinct (Periodicity, domain).
Definition halo_schedule.hpp:57
void clear()
Drops every cached schedule, forcing a rebuild on the next fill_boundary.
Definition halo_schedule.hpp:78
std::size_t size() const
Number of cached schedules (test/instrumentation hook).
Definition halo_schedule.hpp:81
std::shared_ptr< HaloSchedule > add()
Appends a fresh, empty schedule and returns it for the caller to populate.
Definition halo_schedule.hpp:70
std::shared_ptr< const HaloSchedule > find(bool px, bool py, const Box2D &dom) const
Existing schedule for (px, py, dom), or nullptr if none is cached yet.
Definition halo_schedule.hpp:60
Definition amr_hierarchy.hpp:29
std::int64_t halo_schedule_build_count()
Number of times fill_boundary has BUILT (enumerated) a halo schedule.
Definition halo_schedule.hpp:99
void reset_halo_schedule_build_count()
Resets the build counter (tests).
Definition halo_schedule.hpp:104
One halo copy/transfer: the ghost region of box dst is filled from the shifted valid region of box sr...
Definition halo_schedule.hpp:25
Memoized schedule for ONE (Periodicity, domain) over a fixed layout.
Definition halo_schedule.hpp:40
Generated by