include/pops/runtime/context/grid_context.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
|
grid_context.hpp
Go to the documentation of this file.
8#include <pops/numerics/spatial/embedded_boundary/domain.hpp> // detail::DiscDomain (built-in level-set domain instance)
BoxArray: the set of boxes tiling a level (disjoint, covering).
Field distributed over a level: decomposition (BoxArray) + distribution (DistributionMapping) + ncomp...
Definition multifab.hpp:33
Generic EMBEDDED-BOUNDARY / LEVEL-SET DOMAIN contract (ADC-327).
Geometry: index-space (Box2D) <-> Cartesian physical-space mapping; PolarGeometry: SIBLING for a glob...
MultiFab: a field DISTRIBUTED over a level (equivalent of AMReX's MultiFab).
Definition amr_hierarchy.hpp:29
GeometryMode
TRANSPORT GEOMETRY MODE of the macro-step (T5-PR3 effort, disc wiring in System::step).
Definition grid_context.hpp:29
@ None
@ Staircase
@ CutCell
PHYSICAL boundary conditions at the domain edge (BCType, BCRec, fill_physical_bc, fill_ghosts).
Boundary conditions for the FOUR faces of the domain (type + associated Dirichlet value).
Definition physical_bc.hpp:29
std::function< void(MultiFab &, MultiFab &)> source_only
SOURCE-ONLY residual R <- S(U, aux) (the model's default/composite source, NO flux divergence),...
Definition grid_context.hpp:83
std::function< void(MultiFab &, Real, int)> advance
(U, dt, n): n substeps of dt/n
Definition grid_context.hpp:62
std::function< void(MultiFab &, Real, int)> advance_masked
same, residual via assemble_rhs_masked
Definition grid_context.hpp:64
std::function< void(MultiFab &)> project
PROJECTION PONCTUELLE post-pas (ADC-177) : U <- project(U, aux) sur les cellules VALIDES du bloc,...
Definition grid_context.hpp:91
std::function< void(const MultiFab &, Real &, int &, int &)> hotspot
dt_hotspot diagnostic (ADC-182): (U, w, i, j) -> GLOBAL cell dominating the transport CFL and its spe...
Definition grid_context.hpp:87
std::function< void(MultiFab &, Real, int)> advance_eb
same, residual via assemble_rhs_eb
Definition grid_context.hpp:65
std::function< void(MultiFab &, MultiFab &)> rhs_into
R <- -div F + S (Poisson frozen)
Definition grid_context.hpp:66
std::function< void(MultiFab &, MultiFab &)> rhs_flux_only
FLUX-ONLY residual R <- -div F(U) (NO default/composite source), Poisson frozen (ADC-425).
Definition grid_context.hpp:74
Cartesian geometry of a level: index domain + physical bounds [xlo, xhi] x [ylo, yhi].
Definition geometry.hpp:20
Mesh + transport BC + aux shared by a block closures.
Definition grid_context.hpp:41
const MultiFab * domain_mask
0/1 domain mask (Impl::domain_mask_); NOT owned
Definition grid_context.hpp:46
const detail::DiscDomain * eb_domain
level-set domain descriptor (Impl::eb_domain_); NOT owned
Definition grid_context.hpp:47
MultiFab * aux
System aux (phi, grad phi); NOT owned.
Definition grid_context.hpp:45
CIRCLE / DISC level-set domain: the canonical instance of the contract and the SINGLE SOURCE of truth...
Definition domain.hpp:69
Base scalar types and the POPS_HD macro (host+device portability).
Generated by