![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <AbstractCellPopulationBoundaryCondition.hpp>
Public Member Functions | |
AbstractCellPopulationBoundaryCondition (AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation) | |
virtual | ~AbstractCellPopulationBoundaryCondition () |
virtual void | ImposeBoundaryCondition (const std::map< Node< SPACE_DIM > *, 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 |
![]() | |
virtual | ~Identifiable () |
std::string | GetIdentifier () const |
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 48 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.
|
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.
|
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 prior to being updated in UpdateNodePositions() |
Implemented in PlaneBoundaryCondition< ELEMENT_DIM, SPACE_DIM >.
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.
|
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< ELEMENT_DIM, SPACE_DIM >, SlidingBoundaryCondition< DIM >, SphereGeometryBoundaryCondition< DIM >, and CryptSimulationBoundaryCondition< DIM >.
Definition at line 66 of file AbstractCellPopulationBoundaryCondition.cpp.
Referenced by PlaneBoundaryCondition< ELEMENT_DIM, SPACE_DIM >::OutputCellPopulationBoundaryConditionParameters(), SlidingBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters(), SphereGeometryBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters(), and CryptSimulationBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters().
|
inlineprivate |
Serialize the object and its member variables.
archive | the archive |
version | the current version of this class |
Definition at line 62 of file AbstractCellPopulationBoundaryCondition.hpp.
|
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< ELEMENT_DIM, SPACE_DIM >, SlidingBoundaryCondition< DIM >, SphereGeometryBoundaryCondition< DIM >, and CryptSimulationBoundaryCondition< DIM >.
|
friend |
Needed for serialization.
Definition at line 54 of file AbstractCellPopulationBoundaryCondition.hpp.
|
friend |
Definition at line 50 of file AbstractCellPopulationBoundaryCondition.hpp.
|
protected |
The cell population.
Definition at line 70 of file AbstractCellPopulationBoundaryCondition.hpp.