include/pops/physics/composition/composite.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
|
composite.hpp
Go to the documentation of this file.
3#include <pops/core/model/physical_model.hpp> // HyperbolicPhysicalModel: contract of the hyperbolic brick
41 // Without any extra-field brick, n_aux = kAuxBaseComps (3) -> strictly identical to the history.
Hyperbolic brick of a model: flux + wave speed + variables + cons<->prim conversions.
Definition physical_model.hpp:181
Definition amr_hierarchy.hpp:29
C++20 concepts defining the contract of the physics layer.
Pointwise types of the physics layer: StateVec<N> (conserved state) and Aux (auxiliary fields from th...
POINTWISE auxiliary fields shared with the physics: single coupling channel.
Definition state.hpp:123
Composite physical model: one HYPERBOLIC brick + one source + one elliptic right-hand side.
Definition composite.hpp:30
POPS_HD Real stability_speed(const State &u, const Aux &a, int dir) const
Optional STEP BOUNDS (audit 2026-06, see core/physical_model.hpp): forwarded conditionally like press...
Definition composite.hpp:122
POPS_HD State source(const State &u, const Aux &a) const
Definition composite.hpp:59
POPS_HD Real stability_dt(const State &u, const Aux &a) const
Definition composite.hpp:129
POPS_HD Real contact_speed(const State &ul, const State &ur, Real pl, Real pr, Real sl, Real sr, int dir) const
Riemann CAPABILITIES (audit wave 3): HLLC hooks (contact_speed + hllc_star_state) and Roe (roe_dissip...
Definition composite.hpp:84
POPS_HD Real pressure(const State &u) const
Definition composite.hpp:66
POPS_HD State roe_dissipation(const State &ul, const Aux &al, const State &ur, const Aux &ar, int dir) const
Definition composite.hpp:98
POPS_HD Real max_wave_speed(const State &u, const Aux &a, int dir) const
Definition composite.hpp:56
POPS_HD Real elliptic_rhs(const State &u) const
Definition composite.hpp:60
POPS_HD State polar_geom_source(const State &u, Real r) const
GEOMETRIC source term of polar curvature, delegated to the hyperbolic brick when it exposes it (polar...
Definition composite.hpp:111
static VariableSet conservative_vars()
Definition composite.hpp:63
POPS_HD State project(const State &u, const Aux &a) const
PROJECTION PONCTUELLE post-pas (ADC-177) : forwardee depuis la brique HYPERBOLIQUE quand elle declare...
Definition composite.hpp:144
POPS_HD Real source_frequency(const State &u, const Aux &a) const
Definition composite.hpp:134
POPS_HD State flux(const State &u, const Aux &a, int dir) const
Definition composite.hpp:55
POPS_HD Prim to_primitive(const State &u) const
Definition composite.hpp:61
POPS_HD void wave_speeds(const State &u, const Aux &a, int dir, Real &smin, Real &smax) const
Definition composite.hpp:71
POPS_HD void source_jacobian(const State &u, const Aux &a, Real(&J)[n_vars][n_vars]) const
ANALYTIC JACOBIAN of the source (audit wave 3): forwarded from the SOURCE brick when it declares jaco...
Definition composite.hpp:154
POPS_HD State hllc_star_state(const State &u, Real p, Real s, Real sStar, int dir) const
Definition composite.hpp:91
POPS_HD State to_conservative(const Prim &p) const
Definition composite.hpp:62
A model's variable set: kind (cons/prim), names, size, canonical roles (optional, parallel to names; ...
Definition variables.hpp:58
Base scalar types and the POPS_HD macro (host+device portability).
Descriptor of a model's variables (Vars).
Generated by