#include <PlaneBoundaryCondition.hpp>
Public Member Functions | |
PlaneBoundaryCondition (AbstractCellPopulation< DIM > *pCellPopulation, c_vector< double, DIM > point, c_vector< double, DIM > normal) | |
const c_vector< double, DIM > & | rGetPointOnPlane () const |
const c_vector< double, DIM > & | rGetNormalToPlane () const |
void | ImposeBoundaryCondition () |
bool | VerifyBoundaryCondition () |
void | OutputCellPopulationBoundaryConditionParameters (out_stream &rParamsFile) |
Private Member Functions | |
template<class Archive> | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
c_vector< double, DIM > | mPointOnPlane |
c_vector< double, DIM > | mNormalToPlane |
Friends | |
class | boost::serialization::access |
Definition at line 44 of file PlaneBoundaryCondition.hpp.
PlaneBoundaryCondition< DIM >::PlaneBoundaryCondition | ( | AbstractCellPopulation< DIM > * | pCellPopulation, | |
c_vector< double, DIM > | point, | |||
c_vector< double, DIM > | normal | |||
) | [inline] |
Constructor.
pCellPopulation | pointer to the cell population | |
point | a point on the boundary plane | |
normal | the outward-facing unit normal vector to the boundary plane |
Definition at line 33 of file PlaneBoundaryCondition.cpp.
References PlaneBoundaryCondition< DIM >::mNormalToPlane, and AbstractCellPopulationBoundaryCondition< DIM >::mpCellPopulation.
void PlaneBoundaryCondition< 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 from AbstractCellPopulationBoundaryCondition< DIM >.
Definition at line 67 of file PlaneBoundaryCondition.hpp.
const c_vector< double, DIM > & PlaneBoundaryCondition< DIM >::rGetPointOnPlane | ( | ) | const [inline] |
Definition at line 46 of file PlaneBoundaryCondition.cpp.
References PlaneBoundaryCondition< DIM >::mPointOnPlane.
const c_vector< double, DIM > & PlaneBoundaryCondition< DIM >::rGetNormalToPlane | ( | ) | const [inline] |
Definition at line 52 of file PlaneBoundaryCondition.cpp.
References PlaneBoundaryCondition< DIM >::mNormalToPlane.
void PlaneBoundaryCondition< DIM >::ImposeBoundaryCondition | ( | ) | [inline, virtual] |
Overridden ImposeBoundaryCondition() method.
Apply the cell population boundary conditions.
Implements AbstractCellPopulationBoundaryCondition< DIM >.
Definition at line 58 of file PlaneBoundaryCondition.cpp.
References EXCEPTION, PlaneBoundaryCondition< DIM >::mNormalToPlane, AbstractCellPopulationBoundaryCondition< DIM >::mpCellPopulation, PlaneBoundaryCondition< DIM >::mPointOnPlane, and Node< SPACE_DIM >::rGetModifiableLocation().
bool PlaneBoundaryCondition< DIM >::VerifyBoundaryCondition | ( | ) | [inline, virtual] |
Overridden VerifyBoundaryCondition() method. Verify the boundary conditions have been applied. This is called after ImposeBoundaryCondition() to ensure the condition is still satisfied.
Implements AbstractCellPopulationBoundaryCondition< DIM >.
Definition at line 91 of file PlaneBoundaryCondition.cpp.
References EXCEPTION, PlaneBoundaryCondition< DIM >::mNormalToPlane, AbstractCellPopulationBoundaryCondition< DIM >::mpCellPopulation, and PlaneBoundaryCondition< DIM >::mPointOnPlane.
void PlaneBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters | ( | out_stream & | rParamsFile | ) | [inline, virtual] |
Overridden OutputCellPopulationBoundaryConditionParameters() method. Output cell population boundary condition parameters to file.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractCellPopulationBoundaryCondition< DIM >.
Definition at line 119 of file PlaneBoundaryCondition.cpp.
References PlaneBoundaryCondition< DIM >::mNormalToPlane, PlaneBoundaryCondition< DIM >::mPointOnPlane, and AbstractCellPopulationBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters().
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCellPopulationBoundaryCondition< DIM >.
Definition at line 59 of file PlaneBoundaryCondition.hpp.
c_vector<double, DIM> PlaneBoundaryCondition< DIM >::mPointOnPlane [private] |
A point on the boundary plane.
Definition at line 51 of file PlaneBoundaryCondition.hpp.
Referenced by PlaneBoundaryCondition< DIM >::ImposeBoundaryCondition(), PlaneBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters(), PlaneBoundaryCondition< DIM >::rGetPointOnPlane(), and PlaneBoundaryCondition< DIM >::VerifyBoundaryCondition().
c_vector<double, DIM> PlaneBoundaryCondition< DIM >::mNormalToPlane [private] |
The outward-facing unit normal vector to the boundary plane.
Definition at line 56 of file PlaneBoundaryCondition.hpp.
Referenced by PlaneBoundaryCondition< DIM >::ImposeBoundaryCondition(), PlaneBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters(), PlaneBoundaryCondition< DIM >::PlaneBoundaryCondition(), PlaneBoundaryCondition< DIM >::rGetNormalToPlane(), and PlaneBoundaryCondition< DIM >::VerifyBoundaryCondition().