Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver > Class Template Reference

#include <CellCycleModelOdeSolver.hpp>

+ Inheritance diagram for CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver >:
+ Collaboration diagram for CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver >:

Public Member Functions

bool IsSetUp ()
 
void Initialise ()
 
void Reset ()
 
- Public Member Functions inherited from AbstractCellCycleModelOdeSolver
 AbstractCellCycleModelOdeSolver ()
 
virtual ~AbstractCellCycleModelOdeSolver ()
 
void SolveAndUpdateStateVariable (AbstractOdeSystem *pAbstractOdeSystem, double startTime, double endTime, double timeStep)
 
bool StoppingEventOccurred ()
 
double GetStoppingTime ()
 
void SetSizeOfOdeSystem (unsigned sizeOfOdeSystem)
 
unsigned GetSizeOfOdeSystem ()
 
void CheckForStoppingEvents ()
 
void SetMaxSteps (long numSteps)
 
void SetTolerances (double relTol=1e-4, double absTol=1e-6)
 
virtual bool IsAdaptive ()
 

Static Public Member Functions

static boost::shared_ptr< CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver > > Instance ()
 

Private Member Functions

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

Static Private Attributes

static boost::shared_ptr< CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver > > mpInstance
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Protected Attributes inherited from AbstractCellCycleModelOdeSolver
boost::shared_ptr< AbstractIvpOdeSolvermpOdeSolver
 
unsigned mSizeOfOdeSystem
 

Detailed Description

template<class CELL_CYCLE_MODEL>
class CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver >

Specialization for BackwardEulerIvpOdeSolver, whose constructor requires an argument.

Definition at line 171 of file CellCycleModelOdeSolver.hpp.

Constructor & Destructor Documentation

◆ CellCycleModelOdeSolver()

template<class CELL_CYCLE_MODEL >
CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver >::CellCycleModelOdeSolver ( )
private

Default constructor. Not user accessible; to obtain an instance of this class use the Instance method.

Definition at line 213 of file CellCycleModelOdeSolver.hpp.

Member Function Documentation

◆ Initialise()

template<class CELL_CYCLE_MODEL >
void CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver >::Initialise ( )
virtual

Initialise the ODE solver.

Implements AbstractCellCycleModelOdeSolver.

Definition at line 235 of file CellCycleModelOdeSolver.hpp.

References EXCEPTION, and UNSIGNED_UNSET.

◆ Instance()

template<class CELL_CYCLE_MODEL >
boost::shared_ptr< CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver > > CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver >::Instance ( )
static
Returns
a pointer to the singleton instance, creating it if necessary.

Definition at line 219 of file CellCycleModelOdeSolver.hpp.

◆ IsSetUp()

template<class CELL_CYCLE_MODEL >
bool CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver >::IsSetUp ( )
virtual
Returns
whether the instance in existence and fully set up.

Implements AbstractCellCycleModelOdeSolver.

Definition at line 229 of file CellCycleModelOdeSolver.hpp.

References UNSIGNED_UNSET.

◆ Reset()

template<class CELL_CYCLE_MODEL >
void CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver >::Reset ( )
virtual

Reset the instance.

Implements AbstractCellCycleModelOdeSolver.

Definition at line 245 of file CellCycleModelOdeSolver.hpp.

References UNSIGNED_UNSET.

◆ serialize()

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

Archive the cell-cycle model, never used directly - boost uses this.

Parameters
archivethe archive
versionthe current version of this class

Definition at line 189 of file CellCycleModelOdeSolver.hpp.

References CellCycleModelOdeSolver< CELL_CYCLE_MODEL, ODE_SOLVER >::mpInstance.

Friends And Related Symbol Documentation

◆ boost::serialization::access

template<class CELL_CYCLE_MODEL >
friend class boost::serialization::access
friend

Needed for serialization.

Definition at line 181 of file CellCycleModelOdeSolver.hpp.

Member Data Documentation

◆ mpInstance

template<class CELL_CYCLE_MODEL >
boost::shared_ptr< CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver > > CellCycleModelOdeSolver< CELL_CYCLE_MODEL, BackwardEulerIvpOdeSolver >::mpInstance
staticprivate

The single instance of this class, for this ODE_SOLVER.

Definition at line 175 of file CellCycleModelOdeSolver.hpp.


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