flow_simulation_base.h Source File
|
CPP API
|
flow_simulation_base.h
Go to the documentation of this file.
95 // take the last time point as base result (instead of the initial results), so that we use external changes
111 class FlowSimulationBase<FP, M, SystemIntegrator<FP, Integrands...>> : public FlowSimulationBase<FP, M, Integrands...>
Interface class defining the integration step used in a SystemIntegrator.
Definition: integrator.h:48
stores vectors of values at time points (or some other abstract variable) the value at each time poin...
Definition: time_series.h:58
Base class to define a FlowSimulation.
Definition: flow_simulation_base.h:42
mio::TimeSeries< FP > m_flow_result
Flow result of the simulation.
Definition: flow_simulation_base.h:106
void compute_population_results()
Computes the distribution of the Population to the InfectionStates based on the simulated flows.
Definition: flow_simulation_base.h:90
const TimeSeries< FP > & get_flows() const
Returns the simulation result describing the transitions between compartments for each time step.
Definition: flow_simulation_base.h:77
FlowSimulationBase(Model const &model, std::unique_ptr< Core > &&integrator_core, FP t0, FP dt)
Create a FlowSimulationBase.
Definition: flow_simulation_base.h:56
TimeSeries< FP > & get_flows()
Returns the simulation result describing the transitions between compartments for each time step.
Definition: flow_simulation_base.h:72
const Model & get_model() const
Get a reference to the model owned and used by the simulation.
Definition: simulation_base.h:131
TimeSeries< FP > & get_result()
Returns the simulation result describing the model population in each time step.
Definition: simulation_base.h:116
A collection of classes to simplify handling of matrix shapes in meta programming.
Definition: models/abm/analyze_result.h:30
Definition: io.h:94
Generated by