Chaste Release::3.1
|
#include <AbstractCellPopulationBoundaryCondition.hpp>
Public Member Functions | |
AbstractCellPopulationBoundaryCondition (AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation) | |
virtual | ~AbstractCellPopulationBoundaryCondition () |
virtual void | ImposeBoundaryCondition (const std::vector< c_vector< double, SPACE_DIM > > &rOldLocations)=0 |
virtual bool | VerifyBoundaryCondition ()=0 |
const AbstractCellPopulation < ELEMENT_DIM, SPACE_DIM > * | GetCellPopulation () const |
void | OutputCellPopulationBoundaryConditionInfo (out_stream &rParamsFile) |
virtual void | OutputCellPopulationBoundaryConditionParameters (out_stream &rParamsFile)=0 |
Protected Attributes | |
AbstractCellPopulation < ELEMENT_DIM, SPACE_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 49 of file AbstractCellPopulationBoundaryCondition.hpp.
AbstractCellPopulationBoundaryCondition< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulationBoundaryCondition | ( | AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > * | pCellPopulation | ) |
Constructor.
pCellPopulation | pointer to the cell population. |
Definition at line 39 of file AbstractCellPopulationBoundaryCondition.cpp.
AbstractCellPopulationBoundaryCondition< ELEMENT_DIM, SPACE_DIM >::~AbstractCellPopulationBoundaryCondition | ( | ) | [virtual] |
Destructor.
Definition at line 45 of file AbstractCellPopulationBoundaryCondition.cpp.
const AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > * AbstractCellPopulationBoundaryCondition< ELEMENT_DIM, SPACE_DIM >::GetCellPopulation | ( | ) | const |
Get a pointer to the cell population.
Definition at line 50 of file AbstractCellPopulationBoundaryCondition.cpp.
virtual void AbstractCellPopulationBoundaryCondition< ELEMENT_DIM, SPACE_DIM >::ImposeBoundaryCondition | ( | const std::vector< c_vector< double, SPACE_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 |
void AbstractCellPopulationBoundaryCondition< ELEMENT_DIM, SPACE_DIM >::OutputCellPopulationBoundaryConditionInfo | ( | out_stream & | rParamsFile | ) |
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 56 of file AbstractCellPopulationBoundaryCondition.cpp.
void AbstractCellPopulationBoundaryCondition< ELEMENT_DIM, SPACE_DIM >::OutputCellPopulationBoundaryConditionParameters | ( | out_stream & | rParamsFile | ) | [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 66 of file AbstractCellPopulationBoundaryCondition.cpp.
Referenced by CryptSimulationBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters(), SphereGeometryBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters(), and PlaneBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters().
void AbstractCellPopulationBoundaryCondition< ELEMENT_DIM, SPACE_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 63 of file AbstractCellPopulationBoundaryCondition.hpp.
virtual bool AbstractCellPopulationBoundaryCondition< ELEMENT_DIM, SPACE_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 55 of file AbstractCellPopulationBoundaryCondition.hpp.
AbstractCellPopulation<ELEMENT_DIM,SPACE_DIM>* AbstractCellPopulationBoundaryCondition< ELEMENT_DIM, SPACE_DIM >::mpCellPopulation [protected] |
The cell population.
Definition at line 71 of file AbstractCellPopulationBoundaryCondition.hpp.