dynamic_npis.h File Reference

CPP API: dynamic_npis.h File Reference
dynamic_npis.h File Reference
Include dependency graph for dynamic_npis.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mio::DynamicNPIs< FP >
 represents non-pharmaceutical interventions (NPI) that are activated during the simulation if some value (e.g. More...
 

Namespaces

 mio
 A collection of classes to simplify handling of matrix shapes in meta programming.
 

Functions

template<typename FP , class DampingExpr >
Eigen::Ref< const typename DampingExpr::Matrix > mio::get_active_damping (const DampingExpr &damping_expr, DampingLevel lvl, DampingType type, SimulationTime< FP > t)
 Get the value of the damping that matches the given type and level and that is active at the specified time. More...
 
template<typename FP , class DampingExpr >
std::vector< size_t > mio::get_damping_indices (const DampingExpr &damping_expr, DampingLevel lvl, DampingType type, SimulationTime< FP > begin, SimulationTime< FP > end)
 Get a list of indices of specified dampings. More...
 
template<typename FP , class DampingExprGroup , class MakeMatrix >
void mio::implement_dynamic_npis (DampingExprGroup &damping_expr_group, const std::vector< DampingSampling< FP >> &npis, SimulationTime< FP > begin, SimulationTime< FP > end, MakeMatrix &&make_matrix)
 implement dynamic NPIs for a time span. More...