SimulationNode< FP, Sim > Class Template Reference
|
CPP API
|
mio::SimulationNode< FP, Sim > Class Template Reference
represents the simulation in one node of the graph. More...
#include <metapopulation_mobility_instant.h>
Public Types | |
| using | Simulation = Sim |
Public Member Functions | |
| void | advance (FP t, FP dt) |
| Eigen::Ref< const Eigen::VectorX< FP > > | get_last_state () const |
| FP | get_t0 () const |
| template<class... Args> | |
| requires std::is_constructible_v< Sim, Args... > | SimulationNode (Args &&... args) |
| decltype(auto) | get_result () const |
| get the result of the simulation in this node. More... | |
| decltype(auto) | get_result () |
| get the result of the simulation in this node. More... | |
| Sim & | get_simulation () |
| get the the simulation in this node. More... | |
| const Sim & | get_simulation () const |
| get the the simulation in this node. More... | |
Private Attributes | |
| Eigen::VectorX< FP > | m_last_state |
| Sim | m_simulation |
| FP | m_t0 |
Detailed Description
template<typename FP, class Sim>
class mio::SimulationNode< FP, Sim >
represents the simulation in one node of the graph.
Member Typedef Documentation
◆ Simulation
template<typename FP , class Sim >
| using mio::SimulationNode< FP, Sim >::Simulation = Sim |
Constructor & Destructor Documentation
◆ SimulationNode()
template<typename FP , class Sim >
template<class... Args>
|
inline |
Member Function Documentation
◆ advance()
template<typename FP , class Sim >
|
inline |
◆ get_last_state()
template<typename FP , class Sim >
|
inline |
◆ get_result() [1/2]
template<typename FP , class Sim >
|
inline |
get the result of the simulation in this node.
◆ get_result() [2/2]
template<typename FP , class Sim >
|
inline |
get the result of the simulation in this node.
◆ get_simulation() [1/2]
template<typename FP , class Sim >
|
inline |
get the the simulation in this node.
◆ get_simulation() [2/2]
template<typename FP , class Sim >
|
inline |
get the the simulation in this node.
◆ get_t0()
template<typename FP , class Sim >
|
inline |
Member Data Documentation
◆ m_last_state
template<typename FP , class Sim >
|
private |
◆ m_simulation
template<typename FP , class Sim >
|
private |
◆ m_t0
template<typename FP , class Sim >
|
private |
Generated by