![]() |
Chaste Commit::675f9facbe008c5eacb9006feaeb6423206579ea
|
#include <SlidingBoundaryCondition.hpp>
Inheritance diagram for SlidingBoundaryCondition< DIM >:
Collaboration diagram for SlidingBoundaryCondition< DIM >:Public Member Functions | |
| SlidingBoundaryCondition (AbstractCellPopulation< DIM > *pCellPopulation, double threshold=0.8) | |
| double | GetThreshold () const |
| void | ImposeBoundaryCondition (const std::map< Node< DIM > *, c_vector< double, DIM > > &rOldLocations) |
| bool | VerifyBoundaryCondition () |
| void | OutputCellPopulationBoundaryConditionParameters (out_stream &rParamsFile) |
Public Member Functions inherited from AbstractCellPopulationBoundaryCondition< DIM > | |
| AbstractCellPopulationBoundaryCondition (AbstractCellPopulation< ELEMENT_DIM, ELEMENT_DIM > *pCellPopulation) | |
| virtual | ~AbstractCellPopulationBoundaryCondition () |
| virtual void | ImposeBoundaryCondition (const std::map< Node< ELEMENT_DIM > *, c_vector< double, ELEMENT_DIM > > &rOldLocations)=0 |
| const AbstractCellPopulation< ELEMENT_DIM, ELEMENT_DIM > * | GetCellPopulation () const |
| void | OutputCellPopulationBoundaryConditionInfo (out_stream &rParamsFile) |
Public Member Functions inherited from Identifiable | |
| virtual | ~Identifiable () |
| std::string | GetIdentifier () const |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
| double | mThreshold |
Friends | |
| class | boost::serialization::access |
Additional Inherited Members | |
Protected Attributes inherited from AbstractCellPopulationBoundaryCondition< DIM > | |
| AbstractCellPopulation< ELEMENT_DIM, ELEMENT_DIM > * | mpCellPopulation |
A boundary condition class that prevents nodes lying with a threshold distance from the left-hand boundary to move in the x direction, but which allows them to 'slide' along this boundary.
Definition at line 51 of file SlidingBoundaryCondition.hpp.
| SlidingBoundaryCondition< DIM >::SlidingBoundaryCondition | ( | AbstractCellPopulation< DIM > * | pCellPopulation, |
| double | threshold = 0.8 |
||
| ) |
Constructor.
| pCellPopulation | pointer to the cell population |
| threshold | maximum distance from left-hand boundary at which condition is imposed on nodes (defaults to 0.8) |
Definition at line 41 of file SlidingBoundaryCondition.cpp.
| double SlidingBoundaryCondition< DIM >::GetThreshold | ( | ) | const |
Definition at line 49 of file SlidingBoundaryCondition.cpp.
| void SlidingBoundaryCondition< DIM >::ImposeBoundaryCondition | ( | const std::map< Node< DIM > *, c_vector< double, DIM > > & | rOldLocations | ) |
Overridden ImposeBoundaryCondition() method.
Apply the cell population boundary condition.
| rOldLocations | the node locations before the boundary condition are applied |
Definition at line 55 of file SlidingBoundaryCondition.cpp.
References EXCEPTION, Node< SPACE_DIM >::IsBoundaryNode(), Node< SPACE_DIM >::rGetLocation(), ChasteCuboid< SPACE_DIM >::rGetLowerCorner(), and Node< SPACE_DIM >::rGetModifiableLocation().
|
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 93 of file SlidingBoundaryCondition.cpp.
|
inlineprivate |
Serialize the object and its member variables.
| archive | the archive |
| version | the current version of this class |
Definition at line 70 of file SlidingBoundaryCondition.hpp.
|
virtual |
Overridden VerifyBoundaryCondition() method. Verify the boundary condition has been applied. This is called after ImposeBoundaryCondition() to ensure the condition is still satisfied.
Implements AbstractCellPopulationBoundaryCondition< DIM >.
Definition at line 86 of file SlidingBoundaryCondition.cpp.
|
friend |
Needed for serialization.
Definition at line 62 of file SlidingBoundaryCondition.hpp.
|
private |
Maximum distance from left-hand boundary at which condition is imposed on nodes. Initialised to 0.8 in constructor.
Definition at line 59 of file SlidingBoundaryCondition.hpp.