Chaste  Release::3.4
Goldbeter1991SrnModel Class Reference

#include <Goldbeter1991SrnModel.hpp>

+ Inheritance diagram for Goldbeter1991SrnModel:
+ Collaboration diagram for Goldbeter1991SrnModel:

Public Member Functions

 Goldbeter1991SrnModel (boost::shared_ptr< AbstractCellCycleModelOdeSolver > pOdeSolver=boost::shared_ptr< AbstractCellCycleModelOdeSolver >())
 
AbstractSrnModelCreateSrnModel ()
 
void Initialise ()
 
void SimulateToCurrentTime ()
 
void OutputSrnModelParameters (out_stream &rParamsFile)
 
double GetC ()
 
double GetM ()
 
double GetX ()
 
- Public Member Functions inherited from AbstractOdeSrnModel
 AbstractOdeSrnModel (unsigned stateSize, boost::shared_ptr< AbstractCellCycleModelOdeSolver > pOdeSolver=boost::shared_ptr< AbstractCellCycleModelOdeSolver >())
 
virtual ~AbstractOdeSrnModel ()
 
virtual void ResetForDivision ()
 
void SetFinishedRunningOdes (bool finishedRunningOdes)
 
void SetInitialConditions (std::vector< double > initialConditions)
 
const std::vector< double > & GetStateVariables ()
 
- Public Member Functions inherited from AbstractSrnModel
 AbstractSrnModel ()
 
virtual ~AbstractSrnModel ()
 
void SetCell (CellPtr pCell)
 
virtual void InitialiseDaughterCell ()
 
CellPtr GetCell ()
 
void SetSimulatedToTime (double simulatedToTime)
 
double GetSimulatedToTime ()
 
void OutputSrnModelInfo (out_stream &rParamsFile)
 
- Public Member Functions inherited from Identifiable
virtual ~Identifiable ()
 
std::string GetIdentifier () const
 
- Public Member Functions inherited from CellCycleModelOdeHandler
 CellCycleModelOdeHandler (double lastTime=SimulationTime::Instance() ->GetTime(), boost::shared_ptr< AbstractCellCycleModelOdeSolver > pOdeSolver=boost::shared_ptr< AbstractCellCycleModelOdeSolver >())
 
virtual ~CellCycleModelOdeHandler ()
 
AbstractOdeSystemGetOdeSystem () const
 
void SetOdeSystem (AbstractOdeSystem *pOdeSystem)
 
const boost::shared_ptr
< AbstractCellCycleModelOdeSolver
GetOdeSolver () const
 
void SetLastTime (double lastTime)
 
double GetDt ()
 
void SetDt (double timeStep)
 
void SetStateVariables (const std::vector< double > &rStateVariables)
 

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractOdeSrnModel
void Initialise (AbstractOdeSystem *pOdeSystem)
 
AbstractSrnModelCreateSrnModel (AbstractOdeSrnModel *pModel)
 
- Protected Member Functions inherited from CellCycleModelOdeHandler
bool SolveOdeToTime (double currentTime)
 
virtual void AdjustOdeParameters (double currentTime)
 
- Protected Attributes inherited from AbstractOdeSrnModel
bool mFinishedRunningOdes
 
std::vector< doublemInitialConditions
 
unsigned mStateSize
 
- Protected Attributes inherited from AbstractSrnModel
CellPtr mpCell
 
double mSimulatedToTime
 
- Protected Attributes inherited from CellCycleModelOdeHandler
double mDt
 
AbstractOdeSystemmpOdeSystem
 
boost::shared_ptr
< AbstractCellCycleModelOdeSolver
mpOdeSolver
 
double mLastTime
 

Detailed Description

A subclass of StochasticDurationGenerationBasedCellCycleModel that includes a Goldbeter1991 ODE system in the sub-cellular reaction network.

Todo:
#2752 give reference for this ODE system

For another example of a cell cycle model that is not *based on* an ODE system, but that includes an ODE system, see SingleOdeWntCellCycleModel in the crypt folder.

Definition at line 55 of file Goldbeter1991SrnModel.hpp.

Constructor & Destructor Documentation

Goldbeter1991SrnModel::Goldbeter1991SrnModel ( boost::shared_ptr< AbstractCellCycleModelOdeSolver pOdeSolver = boost::shared_ptr<AbstractCellCycleModelOdeSolver>())

Default constructor calls base class.

Parameters
pOdeSolverAn optional pointer to a cell-cycle model ODE solver object (allows the use of different ODE solvers)

Definition at line 39 of file Goldbeter1991SrnModel.cpp.

References CellCycleModelOdeSolver< CELL_CYCLE_MODEL, ODE_SOLVER >::Instance(), CellCycleModelOdeHandler::mpOdeSolver, and CellCycleModelOdeHandler::SetDt().

Referenced by CreateSrnModel().

Member Function Documentation

AbstractSrnModel * Goldbeter1991SrnModel::CreateSrnModel ( )
virtual

Overridden builder method to create new copies of this SRN model.

Returns
Returns a copy of the current SRN model.

Implements AbstractSrnModel.

Definition at line 51 of file Goldbeter1991SrnModel.cpp.

References AbstractSrnModel::CreateSrnModel(), Goldbeter1991SrnModel(), CellCycleModelOdeHandler::mpOdeSolver, and CellCycleModelOdeHandler::SetOdeSystem().

double Goldbeter1991SrnModel::GetC ( )
Returns
the value of the state variable C in the ODE system.

Definition at line 80 of file Goldbeter1991SrnModel.cpp.

References CellCycleModelOdeHandler::mpOdeSystem, and AbstractParameterisedSystem< VECTOR >::rGetStateVariables().

double Goldbeter1991SrnModel::GetM ( )
Returns
the value of the state variable M in the ODE system.

Definition at line 87 of file Goldbeter1991SrnModel.cpp.

References CellCycleModelOdeHandler::mpOdeSystem, and AbstractParameterisedSystem< VECTOR >::rGetStateVariables().

double Goldbeter1991SrnModel::GetX ( )
Returns
the value of the state variable X in the ODE system.

Definition at line 94 of file Goldbeter1991SrnModel.cpp.

References CellCycleModelOdeHandler::mpOdeSystem, and AbstractParameterisedSystem< VECTOR >::rGetStateVariables().

void Goldbeter1991SrnModel::Initialise ( void  )
virtual

Initialise the cell-cycle model at the start of a simulation.

This overridden method sets up a new Delta-Notch ODE system.

Reimplemented from AbstractSrnModel.

Definition at line 69 of file Goldbeter1991SrnModel.cpp.

References AbstractSrnModel::Initialise().

void Goldbeter1991SrnModel::OutputSrnModelParameters ( out_stream &  rParamsFile)
virtual

Output cell-cycle model parameters to file.

Parameters
rParamsFilethe file stream to which the parameters are output

Reimplemented from AbstractOdeSrnModel.

Definition at line 74 of file Goldbeter1991SrnModel.cpp.

References AbstractOdeSrnModel::OutputSrnModelParameters().

template<class Archive >
void Goldbeter1991SrnModel::serialize ( Archive &  archive,
const unsigned int  version 
)
inlineprivate

Archive the cell-cycle model and member variables.

Parameters
archivethe archive
versionthe current version of this class

Definition at line 68 of file Goldbeter1991SrnModel.hpp.

void Goldbeter1991SrnModel::SimulateToCurrentTime ( )
virtual

Overridden SimulateToTime() method for custom behaviour.

Todo:
#2752 say what it does in this class

Reimplemented from AbstractOdeSrnModel.

Definition at line 63 of file Goldbeter1991SrnModel.cpp.

References AbstractOdeSrnModel::SimulateToCurrentTime().

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Needed for serialization.

Definition at line 60 of file Goldbeter1991SrnModel.hpp.


The documentation for this class was generated from the following files: