#include <CellwiseOdeSystemInformation.hpp>
Public Member Functions | |
CellwiseOdeSystemInformation () | |
template<> | |
void | Initialise (void) |
template<> | |
void | Initialise (void) |
Protected Member Functions | |
void | Initialise (void) |
Note: unexpected behaviour can occur if ODE system objects are copied (via copy constructor or operator=). The AbstractOdeSystem maintains a smart pointer (boost::shared_ptr) to the system information object. Hence both the original and the copy will share the same information object.
Definition at line 45 of file CellwiseOdeSystemInformation.hpp.
CellwiseOdeSystemInformation< ODE_SYSTEM >::CellwiseOdeSystemInformation | ( | ) | [inline] |
Default constructor; calls Initialise.
Designed to be used as follows by ODE system classes in their constructors: mpSystemInfo.reset(new CellwiseOdeSystemInformation<CLASS>);
Definition at line 79 of file CellwiseOdeSystemInformation.hpp.
References CellwiseOdeSystemInformation< ODE_SYSTEM >::Initialise().
void CellwiseOdeSystemInformation< ODE_SYSTEM >::Initialise | ( | void | ) | [inline, protected, virtual] |
Generic implementation of Initialise, which does nothing.
Developers should specialise this method to their ODE system. For example,
template<> void CellwiseOdeSystemInformation<MyNewOdeSystem>::Initialise(void) { this->mVariableNames.push_back("Variable_1"); this->mVariableUnits.push_back("Units_1"); this->mInitialConditions.push_back(0.0);
this->mInitialised = true; }
Implements AbstractOdeSystemInformation.
Definition at line 85 of file CellwiseOdeSystemInformation.hpp.
Referenced by CellwiseOdeSystemInformation< ODE_SYSTEM >::CellwiseOdeSystemInformation().
void CellwiseOdeSystemInformation< IngeWntSwatCellCycleOdeSystem >::Initialise | ( | void | ) | [inline, virtual] |
Initialise the ODE system information.
This must be provided by subclasses.
Implements AbstractOdeSystemInformation.
Definition at line 400 of file IngeWntSwatCellCycleOdeSystem.cpp.
References AbstractOdeSystemInformation::mInitialConditions, AbstractOdeSystemInformation::mInitialised, AbstractOdeSystemInformation::mVariableNames, and AbstractOdeSystemInformation::mVariableUnits.
void CellwiseOdeSystemInformation< WntCellCycleOdeSystem >::Initialise | ( | void | ) | [inline, virtual] |
Initialise the ODE system information.
This must be provided by subclasses.
Implements AbstractOdeSystemInformation.
Definition at line 289 of file WntCellCycleOdeSystem.cpp.
References AbstractOdeSystemInformation::mInitialConditions, AbstractOdeSystemInformation::mInitialised, AbstractOdeSystemInformation::mVariableNames, and AbstractOdeSystemInformation::mVariableUnits.