include/pops/runtime/dynamic/model_registry.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
|
model_registry.hpp
Go to the documentation of this file.
std::string join_tag_names(const TagT(&tbl)[N], const char *sep, bool quote)
Joins the name field of a tag table into "a<sep>b<sep>..." (optionally each name single-quoted).
Definition model_registry.hpp:97
Definition amr_hierarchy.hpp:29
void validate_elliptic(const std::string &tag)
Definition model_registry.hpp:212
constexpr int transport_n_vars_ct(const char *name)
Definition model_registry.hpp:176
int transport_n_vars(const std::string &tag)
Conservative-variable count of a transport tag (source of truth for the static_assert below),...
Definition model_registry.hpp:170
std::string source_tags_csv()
Pipe list of source / elliptic tags (e.g. "charge|background|gravity").
Definition model_registry.hpp:127
constexpr SourceTag kSources[]
SINGLE SOURCE of the builtin sources.
Definition model_registry.hpp:70
constexpr EllipticTag kElliptics[]
SINGLE SOURCE of the builtin elliptic right-hand sides.
Definition model_registry.hpp:87
std::string unknown_elliptic_msg(const std::string &tag)
Definition model_registry.hpp:197
bool is_transport(const std::string &tag)
Membership against the builtin tables.
Definition model_registry.hpp:147
constexpr TransportTag kTransports[]
SINGLE SOURCE of the builtin transports (order = historical display priority, used by the CSV / choic...
Definition model_registry.hpp:50
std::string transport_choices()
Quoted " | "-separated choices (e.g.
Definition model_registry.hpp:136
std::string transport_tags_csv(bool polar=false)
Pipe list of transport tags ("exb|compressible|isothermal"), as used in the dispatch rejection messag...
Definition model_registry.hpp:114
void validate_transport(const std::string &tag)
Validates a transport / elliptic tag against the builtin registry.
Definition model_registry.hpp:208
std::string unknown_transport_msg(const std::string &tag)
Rejection message for an unknown transport / elliptic tag, BYTE-IDENTICAL to the historical inline th...
Definition model_registry.hpp:194
Generated by