|
| void | get_flows (Eigen::Ref< const Eigen::VectorX< FP >> pop, Eigen::Ref< const Eigen::VectorX< FP >> y, FP t, Eigen::Ref< Eigen::VectorX< FP >> flows) const override |
| | Compute the values of the flows between compartments at a given time. More...
|
| |
| IOResult< ScalarType > | get_reproduction_number (size_t t_idx, const mio::TimeSeries< ScalarType > &y) |
| | Computes the reproduction number at a given index time of the Model output obtained by the Simulation. More...
|
| |
| Eigen::VectorXd | get_reproduction_numbers (const mio::TimeSeries< ScalarType > &y) |
| | Computes the reproduction number for all time points of the Model output obtained by the Simulation. More...
|
| |
| | Model (int num_regions, int num_agegroups) |
| | Create a Model with the given number of Regions and AgeGroups. More...
|
| |
| template<class IOContext > |
| void | serialize (IOContext &io) const |
| | serialize this. More...
|
| |
| void | set_commuting_strengths () |
| | Set the CommutingStrengths matrix without data. More...
|
| |
| void | set_commuting_strengths (const Eigen::MatrixXd &commuting_strengths) |
| | Set the CommutingStrengths matrix and update the PopulationAfterCommuting. More...
|
| |
| | FlowModel (Args... args) |
| | Default constructor, forwarding args to Base constructor. More...
|
| |
| void | get_derivatives (Eigen::Ref< const Eigen::VectorX< ScalarType >> flows, Eigen::Ref< Eigen::VectorX< ScalarType >> dydt) const |
| | Compute the right-hand-side of the ODE dydt = f(y, t) from flow values. More...
|
| |
| void | get_derivatives (Eigen::Ref< const Eigen::VectorX< ScalarType >> pop, Eigen::Ref< const Eigen::VectorX< ScalarType >> y, ScalarType t, Eigen::Ref< Eigen::VectorX< ScalarType >> dydt) const final |
| | Compute the right-hand-side f(y, t) of the ODE and store it in dydt. More...
|
| |
| constexpr size_t | get_flat_flow_index () const |
| | A flat index into an array of flows (as computed by get_flows), if the only used category in Pop is Comp. More...
|
| |
| size_t | get_flat_flow_index (const FlowIndex &indices) const |
| | A flat index into an array of flows (as computed by get_flows), given the indices of each category. More...
|
| |
| virtual void | get_flows (Eigen::Ref< const Eigen::VectorX< ScalarType >>, Eigen::Ref< const Eigen::VectorX< ScalarType >>, ScalarType, Eigen::Ref< Eigen::VectorX< ScalarType >>) const=0 |
| |
| Eigen::VectorX< ScalarType > | get_initial_flows () const |
| | Initial values for flows. More...
|
| |
| bool | apply_constraints () |
| | Checks whether the model satisfies all constraints. More...
|
| |
| bool | check_constraints () const |
| | Checks that the model satisfies all constraints (e.g. More...
|
| |
| | CompartmentalModel (CompartmentalModel &&)=default |
| |
| | CompartmentalModel (const CompartmentalModel &)=default |
| |
| | CompartmentalModel (Populations const &po, ParameterSet const &pa) |
| | CompartmentalModel default constructor. More...
|
| |
| void | eval_right_hand_side (Eigen::Ref< const Eigen::VectorX< FP >> pop, Eigen::Ref< const Eigen::VectorX< FP >> y, FP t, Eigen::Ref< Eigen::VectorX< FP >> dydt) const |
| | This function evaluates the right-hand-side f of the ODE dydt = f(y, t). More...
|
| |
| virtual void | get_derivatives (Eigen::Ref< const Eigen::VectorX< FP >>, Eigen::Ref< const Eigen::VectorX< FP >>, FP, Eigen::Ref< Eigen::VectorX< FP >>) const |
| |
| Eigen::VectorX< FP > | get_initial_values () const |
| | Get the initial conditions for the ODE dydt = f(y, t). More...
|
| |
| CompartmentalModel & | operator= (CompartmentalModel &&)=default |
| |
| CompartmentalModel & | operator= (const CompartmentalModel &)=default |
| |
| virtual | ~CompartmentalModel ()=default |
| |
template<typename FP = ScalarType>
class mio::oseirmetapop::Model< FP >
The Model holds the Parameters and the initial Populations for every region and defines the ordinary differential equations.