model.h File Reference
|
CPP API
|
ode_secir/model.h File Reference
#include "memilio/compartments/flow_model.h"#include "memilio/compartments/simulation.h"#include "memilio/compartments/flow_simulation.h"#include "memilio/epidemiology/populations.h"#include "ode_secir/analyze_result.h"#include "ode_secir/infection_state.h"#include "ode_secir/parameters.h"#include "memilio/math/smoother.h"#include "memilio/math/eigen_util.h"#include "memilio/math/interpolation.h"#include <numbers>#include <complex>
Include dependency graph for ode_secir/model.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
| class | mio::osecir::Model< FP > |
| class | mio::osecir::Simulation< FP, BaseT > |
| specialization of compartment model simulation for secir models. More... | |
Namespaces | |
| mio | |
| A collection of classes to simplify handling of matrix shapes in meta programming. | |
| mio::osecir | |
Typedefs | |
| using | mio::osecir::Flows = TypeList< Flow< InfectionState::Susceptible, InfectionState::Exposed >, Flow< InfectionState::Exposed, InfectionState::InfectedNoSymptoms >, Flow< InfectionState::InfectedNoSymptoms, InfectionState::InfectedSymptoms >, Flow< InfectionState::InfectedNoSymptoms, InfectionState::Recovered >, Flow< InfectionState::InfectedNoSymptomsConfirmed, InfectionState::InfectedSymptomsConfirmed >, Flow< InfectionState::InfectedNoSymptomsConfirmed, InfectionState::Recovered >, Flow< InfectionState::InfectedSymptoms, InfectionState::InfectedSevere >, Flow< InfectionState::InfectedSymptoms, InfectionState::Recovered >, Flow< InfectionState::InfectedSymptomsConfirmed, InfectionState::InfectedSevere >, Flow< InfectionState::InfectedSymptomsConfirmed, InfectionState::Recovered >, Flow< InfectionState::InfectedSevere, InfectionState::InfectedCritical >, Flow< InfectionState::InfectedSevere, InfectionState::Recovered >, Flow< InfectionState::InfectedSevere, InfectionState::Dead >, Flow< InfectionState::InfectedCritical, InfectionState::Dead >, Flow< InfectionState::InfectedCritical, InfectionState::Recovered > > |
Functions | |
| template<typename FP , class Base = mio::Simulation<FP, Model<FP>>> | |
| FP | mio::osecir::get_infections_relative (const Simulation< FP, Base > &model, FP t, const Eigen::Ref< const Eigen::VectorX< FP >> &y) |
| get percentage of infections per total population. More... | |
| template<typename FP , class Base = mio::Simulation<FP, Model<FP>>> | |
| auto | mio::osecir::get_mobility_factors (const Simulation< FP, Base > &sim, FP, const Eigen::Ref< const Eigen::VectorX< FP >> &y) |
| Get mobility factors. More... | |
| template<typename FP , class Base > | |
| IOResult< FP > | mio::osecir::get_reproduction_number (FP t_value, const Simulation< FP, Base > &sim) |
| Computes the reproduction number at a given time point of the Simulation. More... | |
| template<typename FP , class Base > | |
| IOResult< FP > | mio::osecir::get_reproduction_number (size_t t_idx, const Simulation< FP, Base > &sim) |
| Computes the reproduction number at a given index time of the Model output obtained by the Simulation. More... | |
| template<typename FP , class Base > | |
| Eigen::VectorX< FP > | mio::osecir::get_reproduction_numbers (const Simulation< FP, Base > &sim) |
| Computes the reproduction number for all time points of the Model output obtained by the Simulation. More... | |
| template<typename FP > | |
| auto | mio::osecir::simulate (FP t0, FP tmax, FP dt, const Model< FP > &model, std::unique_ptr< OdeIntegratorCore< FP >> &&integrator_core=nullptr) |
| Specialization of simulate for SECIR models using Simulation. More... | |
| template<typename FP > | |
| auto | mio::osecir::simulate_flows (FP t0, FP tmax, FP dt, const Model< FP > &model, std::unique_ptr< OdeIntegratorCore< FP >> &&integrator_core=nullptr) |
| Specialization of simulate for SECIR models using the FlowSimulation. More... | |
| template<typename FP , class Base = mio::Simulation<FP, Model<FP>>> | |
| auto | mio::osecir::test_commuters (Simulation< FP, Base > &sim, Eigen::Ref< Eigen::VectorX< FP >> mobile_population, FP time) |
Generated by