include/pops/runtime/config/dispatch_tags.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
|
dispatch_tags.hpp
Go to the documentation of this file.
constexpr bool ct_str_eq(const char *a, const char *b)
COMPILE-TIME C string equality (no constexpr <cstring> guaranteed everywhere).
Definition dispatch_tags.hpp:74
Definition amr_hierarchy.hpp:29
constexpr LimiterTag kLimiters[]
SINGLE SOURCE of the wired limiters (order = display priority: none < minmod < vanleer < weno5).
Definition dispatch_tags.hpp:38
void throw_registry_dispatch_mismatch(const char *ctx, const char *kind, const std::string &tag)
DEFENSE-IN-DEPTH guard: reached only if a VALID tag (already accepted by validate_*) is routed by NO ...
Definition dispatch_tags.hpp:138
void validate_riemann(const std::string &riem, bool polar=false, const char *ctx="System")
Validates a Riemann FLUX tag against kRiemanns.
Definition dispatch_tags.hpp:111
constexpr int limiter_n_ghost_ct(const char *lim)
COMPILE-TIME variant of limiter_n_ghost (const char* literal): -1 if unknown.
Definition dispatch_tags.hpp:88
void validate_limiter(const std::string &lim, const char *ctx="System")
Validates a LIMITER tag against kLimiters.
Definition dispatch_tags.hpp:99
constexpr RiemannTag kRiemanns[]
SINGLE SOURCE of the wired Riemann fluxes (order = message "(rusanov|hll|hllc|roe)").
Definition dispatch_tags.hpp:56
int limiter_n_ghost(const std::string &lim)
Halo width required by the limiter lim (source: kLimiters).
Definition dispatch_tags.hpp:65
Tag of a reconstruction LIMITER: user-facing name + halo width (n_ghost) required by its stencil.
Definition dispatch_tags.hpp:32
Tag of a Riemann FLUX: name + model CAPABILITY needs (DOCUMENTARY: the real guard is an if constexpr ...
Definition dispatch_tags.hpp:47
Generated by