parameters.h Source File
|
CPP API
|
ode_seir/parameters.h
Go to the documentation of this file.
105 ParameterSet<TransmissionProbabilityOnContact<FP>, TimeExposed<FP>, TimeInfected<FP>, ContactPatterns<FP>>;
148 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
157 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
165 log_warning("Constraint check: Parameter TransmissionProbabilityOnContact changed from {} to {} ",
187 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
195 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
A class template for an array with custom indices.
Definition: custom_index_array.h:136
const ParameterTagTraits< Tag >::Type & get() const
get value of a parameter
Definition: parameter_set.h:262
The UncertainContactMatrix class consists of a ContactMatrix with fixed baseline and uncertain Dampin...
Definition: uncertain_matrix.h:43
Parameters of an age-resolved SECIR/SECIHURD model.
Definition: ode_seir/parameters.h:112
static IOResult< Parameters > deserialize(IOContext &io)
deserialize an object of this class.
Definition: ode_seir/parameters.h:224
AgeGroup get_num_groups() const
Definition: ode_seir/parameters.h:120
bool apply_constraints()
Checks whether all Parameters satisfy their corresponding constraints and applies them,...
Definition: ode_seir/parameters.h:138
Parameters(AgeGroup num_agegroups)
Definition: ode_seir/parameters.h:114
Parameters(ParametersBase< FP > &&base)
Definition: ode_seir/parameters.h:212
bool check_constraints() const
Checks whether all Parameters satisfy their corresponding constraints and logs an error if constraint...
Definition: ode_seir/parameters.h:179
int size(Comm comm)
Return the size of the given communicator.
Definition: miompi.cpp:75
A collection of classes to simplify handling of matrix shapes in meta programming.
Definition: models/abm/analyze_result.h:30
void log_warning(spdlog::string_view_t fmt, const Args &... args)
Definition: logging.h:112
auto success()
Create an object that is implicitly convertible to a succesful IOResult<void>.
Definition: io.h:359
void log_error(spdlog::string_view_t fmt, const Args &... args)
Definition: logging.h:100
boost::outcome_v2::unchecked< T, IOStatus > IOResult
Value-or-error type for operations that return a value but can fail.
Definition: io.h:353
Definition: io.h:94
The AgeGroup struct is used as a dynamically sized tag for all age dependent categories.
Definition: age_group.h:32
the contact patterns within the society are modelled using a ContactMatrix
Definition: ode_seir/parameters.h:91
UncertainContactMatrix< FP > Type
Definition: ode_seir/parameters.h:92
static Type get_default(AgeGroup size)
Definition: ode_seir/parameters.h:93
static Type get_default(AgeGroup size)
Definition: ode_seir/parameters.h:61
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_seir/parameters.h:60
static Type get_default(AgeGroup size)
Definition: ode_seir/parameters.h:77
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_seir/parameters.h:76
probability of getting infected from a contact
Definition: ode_seir/parameters.h:43
static Type get_default(AgeGroup size)
Definition: ode_seir/parameters.h:45
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_seir/parameters.h:44
static std::string name()
Definition: ode_seir/parameters.h:49
Generated by