![]() |
Chaste
Release::3.4
|
#include <RepulsionForce.hpp>
Inheritance diagram for RepulsionForce< DIM >:
Collaboration diagram for RepulsionForce< DIM >:Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &archive, const unsigned int version) |
Friends | |
| class | boost::serialization::access |
Additional Inherited Members | |
Protected Attributes inherited from GeneralisedLinearSpringForce< DIM > | |
| double | mMeinekeSpringStiffness |
| double | mMeinekeDivisionRestingSpringLength |
| double | mMeinekeSpringGrowthDuration |
Protected Attributes inherited from AbstractTwoBodyInteractionForce< ELEMENT_DIM, ELEMENT_DIM > | |
| bool | mUseCutOffLength |
| double | mMechanicsCutOffLength |
A class for a simple two-body repulsion force law. Designed for use in node-based simulations
The force just creates a linear repulsive force between cells with a nonlinear separation less than 2. This force does not take a cell's age or cell cycle phase into account.
Definition at line 51 of file RepulsionForce.hpp.
| RepulsionForce< DIM >::RepulsionForce | ( | ) |
Constructor.
Definition at line 40 of file RepulsionForce.cpp.
| void RepulsionForce< DIM >::AddForceContribution | ( | AbstractCellPopulation< DIM > & | rCellPopulation | ) |
Overridden AddForceContribution() method.
| rCellPopulation | reference to the CellPopulation |
Definition at line 46 of file RepulsionForce.cpp.
References Node< SPACE_DIM >::AddAppliedForceContribution(), EXCEPTION, Node< SPACE_DIM >::GetIndex(), Node< SPACE_DIM >::GetRadius(), and Node< SPACE_DIM >::rGetLocation().
|
virtual |
Outputs force 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 |
Reimplemented from GeneralisedLinearSpringForce< DIM >.
Definition at line 98 of file RepulsionForce.cpp.
References GeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::OutputForceParameters().
|
inlineprivate |
Archive the object and its member variables.
| archive | the archive |
| version | the current version of this class |
Definition at line 64 of file RepulsionForce.hpp.
|
friend |
Needed for serialization.
Definition at line 56 of file RepulsionForce.hpp.