36#include "AbstractOdeSrnModel.hpp"
48 mInitialConditions(rModel.mInitialConditions),
49 mStateSize(rModel.mStateSize)
100 assert(
mpCell !=
nullptr);
124 assert(initialConditions.size() ==
mStateSize);
140 const double new_value = theta*old_value;
#define CHASTE_CLASS_EXPORT(T)
void SetInitialConditions(std::vector< double > initialConditions)
virtual void ResetForDivision()
virtual void ScaleSrnVariables(const double theta)
std::vector< double > mInitialConditions
virtual void SimulateToCurrentTime()
virtual ~AbstractOdeSrnModel()
virtual void Initialise()
virtual void OutputSrnModelParameters(out_stream &rParamsFile)
AbstractOdeSrnModel(const AbstractOdeSrnModel &rModel)
double GetStateVariable(unsigned index) const
void SetStateVariables(const VECTOR &rStateVariables)
void SetStateVariable(unsigned index, double newValue)
VECTOR GetInitialConditions() const
void SetSimulatedToTime(double simulatedToTime)
virtual void OutputSrnModelParameters(out_stream &rParamsFile)
virtual void ResetForDivision()
unsigned GetNumberOfStateVariables() const
AbstractOdeSystem * mpOdeSystem
bool mFinishedRunningOdes
void SetLastTime(double lastTime)
bool SolveOdeToTime(double currentTime)
static SimulationTime * Instance()