parameters.h Source File
|
CPP API
|
ode_secir/parameters.h
Go to the documentation of this file.
388 DynamicNPIsInfectedSymptoms<FP>, TimeExposed<FP>, TimeInfectedNoSymptoms<FP>, TimeInfectedSymptoms<FP>,
480 if (this->template get<Seasonality<FP>>() < 0.0 || this->template get<Seasonality<FP>>() > 0.5) {
544 log_warning("Constraint check: Parameter TimeInfectedSevere changed from {} to {}. Please note "
563 log_warning("Constraint check: Parameter TransmissionProbabilityOnContact changed from {} to {} ",
570 log_warning("Constraint check: Parameter RelativeTransmissionNoSymptoms changed from {} to {} ",
578 log_warning("Constraint check: Parameter RecoveredPerInfectedNoSymptoms changed from {} to {} ",
626 if (this->template get<Seasonality<FP>>() < 0.0 || this->template get<Seasonality<FP>>() > 0.5) {
696 log_error("Constraint check: Parameter TransmissionProbabilityOnContact smaller {} or larger {}", 0, 1);
707 log_error("Constraint check: Parameter RecoveredPerInfectedNoSymptoms smaller {} or larger {}", 0, 1);
713 log_error("Constraint check: Parameter RiskOfInfectionFromSymptomatic smaller {} or larger {}", 0, 1);
719 log_error("Constraint check: Parameter SeverePerInfectedSymptoms smaller {} or larger {}", 0, 1);
A class template for an array with custom indices.
Definition: custom_index_array.h:136
represents non-pharmaceutical interventions (NPI) that are activated during the simulation if some va...
Definition: dynamic_npis.h:35
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_secir/parameters.h:399
FP & get_commuter_nondetection()
Percentage of infected commuters that are not detected.
Definition: ode_secir/parameters.h:415
FP m_commuter_nondetection
Definition: ode_secir/parameters.h:759
FP get_commuter_nondetection() const
Definition: ode_secir/parameters.h:419
AgeGroup get_num_groups() const
Definition: ode_secir/parameters.h:407
FP get_end_dynamic_npis() const
Definition: ode_secir/parameters.h:457
FP & get_end_commuter_detection()
Time in simulation after which no infected commuters are detected.
Definition: ode_secir/parameters.h:440
FP get_end_commuter_detection() const
Definition: ode_secir/parameters.h:445
FP m_start_commuter_detection
Definition: ode_secir/parameters.h:760
FP m_end_commuter_detection
Definition: ode_secir/parameters.h:761
Parameters(AgeGroup num_agegroups)
Definition: ode_secir/parameters.h:401
FP & get_start_commuter_detection()
Time in simulation before which no infected commuters are detected.
Definition: ode_secir/parameters.h:427
Parameters(ParametersBase< FP > &&base)
Definition: ode_secir/parameters.h:739
bool apply_constraints()
Checks whether all Parameters satisfy their corresponding constraints and applies them,...
Definition: ode_secir/parameters.h:475
FP m_end_dynamic_npis
Definition: ode_secir/parameters.h:762
bool check_constraints() const
Checks whether all Parameters satisfy their corresponding constraints and logs an error if constraint...
Definition: ode_secir/parameters.h:624
FP & get_end_dynamic_npis()
Time in simulation after which no dynamic NPIs are applied.
Definition: ode_secir/parameters.h:453
FP get_start_commuter_detection() const
Definition: ode_secir/parameters.h:432
static IOResult< Parameters > deserialize(IOContext &io)
deserialize an object of this class.
Definition: ode_secir/parameters.h:751
static min_max_return_type< ad::internal::active_type< AD_TAPE_REAL, DATA_HANDLER_1 >, ad::internal::active_type< AD_TAPE_REAL, DATA_HANDLER_1 > >::type max(const ad::internal::active_type< AD_TAPE_REAL, DATA_HANDLER_1 > &a, const ad::internal::active_type< AD_TAPE_REAL, DATA_HANDLER_1 > &b)
Definition: ad.hpp:2596
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 an UncertainContactMatrix
Definition: ode_secir/parameters.h:308
UncertainContactMatrix< FP > Type
Definition: ode_secir/parameters.h:309
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:310
the percentage of ICU patients per hospitalized patients in the SECIR model
Definition: ode_secir/parameters.h:276
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:277
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:278
the percentage of dead patients per ICU patients in the SECIR model
Definition: ode_secir/parameters.h:292
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:294
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:293
The delay with which DynamicNPIs are implemented and enforced after exceedance of threshold.
Definition: ode_secir/parameters.h:340
UncertainValue< FP > Type
Definition: ode_secir/parameters.h:341
static Type get_default(AgeGroup)
Definition: ode_secir/parameters.h:342
static std::string name()
Definition: ode_secir/parameters.h:346
the NPIs that are enforced if certain infection thresholds are exceeded.
Definition: ode_secir/parameters.h:324
static std::string name()
Definition: ode_secir/parameters.h:330
static Type get_default(AgeGroup)
Definition: ode_secir/parameters.h:326
static Type get_default(AgeGroup)
Definition: ode_secir/parameters.h:82
risk of infection from symptomatic cases increases as test and trace capacity is exceeded.
Definition: ode_secir/parameters.h:244
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:245
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:246
static std::string name()
Definition: ode_secir/parameters.h:250
the percentage of asymptomatic cases in the SECIR model
Definition: ode_secir/parameters.h:212
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:214
static std::string name()
Definition: ode_secir/parameters.h:218
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:213
the relative InfectedNoSymptoms infectability
Definition: ode_secir/parameters.h:196
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:197
static std::string name()
Definition: ode_secir/parameters.h:202
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:198
the risk of infection from symptomatic cases in the SECIR model
Definition: ode_secir/parameters.h:228
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:230
static std::string name()
Definition: ode_secir/parameters.h:234
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:229
the seasonality in the SECIR model the seasonality is given as (1+k*sin()) where the sine curve is be...
Definition: ode_secir/parameters.h:64
static Type get_default(AgeGroup)
Definition: ode_secir/parameters.h:66
the percentage of hospitalized patients per infected patients in the SECIR model
Definition: ode_secir/parameters.h:260
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:262
static std::string name()
Definition: ode_secir/parameters.h:266
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:261
the start day in the SECIR model The start day defines in which season the simulation can be started ...
Definition: ode_secir/parameters.h:47
static Type get_default(AgeGroup)
Definition: ode_secir/parameters.h:49
Multiplier for the test and trace capacity to determine when it is considered overloaded.
Definition: ode_secir/parameters.h:372
static Type get_default(AgeGroup)
Definition: ode_secir/parameters.h:374
UncertainValue< FP > Type
Definition: ode_secir/parameters.h:373
static std::string name()
Definition: ode_secir/parameters.h:378
capacity to test and trace contacts of infected for quarantine per day.
Definition: ode_secir/parameters.h:356
static std::string name()
Definition: ode_secir/parameters.h:362
UncertainValue< FP > Type
Definition: ode_secir/parameters.h:357
static Type get_default(AgeGroup)
Definition: ode_secir/parameters.h:358
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:97
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:98
the time people are treated by ICU before returning home in the SECIR model in day unit
Definition: ode_secir/parameters.h:164
static std::string name()
Definition: ode_secir/parameters.h:170
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:166
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:165
the (mean) time in day unit for asymptomatic cases that are infectious but have not yet developed sym...
Definition: ode_secir/parameters.h:113
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:115
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:114
static std::string name()
Definition: ode_secir/parameters.h:119
the time people are 'simply' hospitalized before returning home in the SECIR model in day unit
Definition: ode_secir/parameters.h:147
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:149
static std::string name()
Definition: ode_secir/parameters.h:153
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:148
the infectious time for symptomatic cases that are infected but who do not need to be hsopitalized in...
Definition: ode_secir/parameters.h:130
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:131
static std::string name()
Definition: ode_secir/parameters.h:136
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:132
probability of getting infected from a contact
Definition: ode_secir/parameters.h:180
CustomIndexArray< UncertainValue< FP >, AgeGroup > Type
Definition: ode_secir/parameters.h:181
static Type get_default(AgeGroup size)
Definition: ode_secir/parameters.h:182
static std::string name()
Definition: ode_secir/parameters.h:186
Generated by