#include <AbstractCellPopulationBoundaryCondition.hpp>
Inherits Identifiable.
Inherited by CryptSimulationBoundaryCondition< DIM >, PlaneBoundaryCondition< DIM >, and SphereGeometryBoundaryCondition< DIM >.
Public Member Functions | |
AbstractCellPopulationBoundaryCondition (AbstractCellPopulation< DIM > *pCellPopulation) | |
virtual | ~AbstractCellPopulationBoundaryCondition () |
virtual void | ImposeBoundaryCondition (const std::vector< c_vector< double, DIM > > &rOldLocations)=0 |
virtual bool | VerifyBoundaryCondition ()=0 |
const AbstractCellPopulation < DIM > * | GetCellPopulation () const |
void | OutputCellPopulationBoundaryConditionInfo (out_stream &rParamsFile) |
virtual void | OutputCellPopulationBoundaryConditionParameters (out_stream &rParamsFile)=0 |
Protected Attributes | |
AbstractCellPopulation< DIM > * | mpCellPopulation |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | TestCellPopulationBoundaryConditions |
class | boost::serialization::access |
An abstract cell population boundary condition class, for use in cell-based simulations.
Definition at line 42 of file AbstractCellPopulationBoundaryCondition.hpp.
AbstractCellPopulationBoundaryCondition< DIM >::AbstractCellPopulationBoundaryCondition | ( | AbstractCellPopulation< DIM > * | pCellPopulation | ) | [inline] |
Constructor.
pCellPopulation | pointer to the cell population. |
Definition at line 32 of file AbstractCellPopulationBoundaryCondition.cpp.
AbstractCellPopulationBoundaryCondition< DIM >::~AbstractCellPopulationBoundaryCondition | ( | ) | [inline, virtual] |
Destructor.
Definition at line 38 of file AbstractCellPopulationBoundaryCondition.cpp.
const AbstractCellPopulation< DIM > * AbstractCellPopulationBoundaryCondition< DIM >::GetCellPopulation | ( | ) | const [inline] |
Get a pointer to the cell population.
Definition at line 43 of file AbstractCellPopulationBoundaryCondition.cpp.
References AbstractCellPopulationBoundaryCondition< DIM >::mpCellPopulation.
virtual void AbstractCellPopulationBoundaryCondition< DIM >::ImposeBoundaryCondition | ( | const std::vector< c_vector< double, DIM > > & | rOldLocations | ) | [pure virtual] |
Impose the boundary condition on each node.
As this method is pure virtual, it must be overridden in subclasses.
rOldLocations | the node locations before any boundary conditions are applied |
Implemented in PlaneBoundaryCondition< DIM >, SphereGeometryBoundaryCondition< DIM >, and CryptSimulationBoundaryCondition< DIM >.
void AbstractCellPopulationBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionInfo | ( | out_stream & | rParamsFile | ) | [inline] |
Output cell population boundary condition used in the simulation to file and then call OutputCellPopulationBoundaryConditionParameters() to output all relevant parameters.
rParamsFile | the file stream to which the parameters are output |
Definition at line 49 of file AbstractCellPopulationBoundaryCondition.cpp.
References Identifiable::GetIdentifier(), and AbstractCellPopulationBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters().
void AbstractCellPopulationBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters | ( | out_stream & | rParamsFile | ) | [inline, pure virtual] |
Output cell population boundary condition parameters to file.
As this method is pure virtual, it must be overridden in subclasses.
rParamsFile | the file stream to which the parameters are output |
Implemented in PlaneBoundaryCondition< DIM >, SphereGeometryBoundaryCondition< DIM >, and CryptSimulationBoundaryCondition< DIM >.
Definition at line 59 of file AbstractCellPopulationBoundaryCondition.cpp.
Referenced by AbstractCellPopulationBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionInfo().
void AbstractCellPopulationBoundaryCondition< DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Serialize the object and its member variables.
archive | the archive | |
version | the current version of this class |
Reimplemented in PlaneBoundaryCondition< DIM >, SphereGeometryBoundaryCondition< DIM >, and CryptSimulationBoundaryCondition< DIM >.
Definition at line 56 of file AbstractCellPopulationBoundaryCondition.hpp.
virtual bool AbstractCellPopulationBoundaryCondition< DIM >::VerifyBoundaryCondition | ( | ) | [pure virtual] |
Pure method which should verify the boundary condition has been applied. This is called after ImposeBoundaryCondition() to ensure the condition is still satisfied.
As this method is pure virtual, it must be overridden in subclasses.
Implemented in PlaneBoundaryCondition< DIM >, SphereGeometryBoundaryCondition< DIM >, and CryptSimulationBoundaryCondition< DIM >.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented in PlaneBoundaryCondition< DIM >, SphereGeometryBoundaryCondition< DIM >, and CryptSimulationBoundaryCondition< DIM >.
Definition at line 48 of file AbstractCellPopulationBoundaryCondition.hpp.
AbstractCellPopulation<DIM>* AbstractCellPopulationBoundaryCondition< DIM >::mpCellPopulation [protected] |
The cell population.
Definition at line 64 of file AbstractCellPopulationBoundaryCondition.hpp.
Referenced by AbstractCellPopulationBoundaryCondition< DIM >::GetCellPopulation(), CryptSimulationBoundaryCondition< DIM >::ImposeBoundaryCondition(), SphereGeometryBoundaryCondition< DIM >::ImposeBoundaryCondition(), PlaneBoundaryCondition< DIM >::ImposeBoundaryCondition(), SphereGeometryBoundaryCondition< DIM >::SphereGeometryBoundaryCondition(), CryptSimulationBoundaryCondition< DIM >::VerifyBoundaryCondition(), SphereGeometryBoundaryCondition< DIM >::VerifyBoundaryCondition(), and PlaneBoundaryCondition< DIM >::VerifyBoundaryCondition().