![]() |
Chaste Commit::f841a6fa79bd6f7a205054452b95ddf6d10aae23
|
#include <PathmanathanInteractionForce.hpp>
Inheritance diagram for PathmanathanInteractionForce< ELEMENT_DIM, SPACE_DIM >:
Collaboration diagram for PathmanathanInteractionForce< ELEMENT_DIM, SPACE_DIM >:Protected Member Functions | |
| c_vector< double, SPACE_DIM > | CalculateLinkInteraction (double overlap, double restLength, const c_vector< double, SPACE_DIM > &rUnitDifference, double multiplicationFactor) |
Protected Attributes | |
| double | mAlpha |
Protected Attributes inherited from AbstractVariableSizeTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM > | |
| double | mSpringStiffness |
| double | mDivisionRestingSpringLength |
| double | mSpringGrowthDuration |
Protected Attributes inherited from AbstractTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM > | |
| bool | mUseCutOffLength |
| double | mMechanicsCutOffLength |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &archive, const unsigned int version) |
Friends | |
| class | TestForces |
| class | boost::serialization::access |
A two-body force law implementing the model from Pathmanathan et al (2009) (doi:10.1088/1478-3975/6/3/036001), also described in Osborne et al (2017) (doi:10.1242/dev.126359).
For two cells whose separation is less than the sum of their radii (i.e. overlap < 0, cells are compressed), a logarithmic repulsion force is used:
![\[
\mathbf{F} = \mu \hat{\mathbf{r}} s \ln\!\left(1 + \frac{d - s}{s}\right)
\]](form_19.png)
For two cells whose separation is greater than the sum of their radii (i.e. overlap > 0, cells are stretched), an exponential attraction force is used:
![\[
\mathbf{F} = \mu \hat{\mathbf{r}} (d - s) e^{-\alpha(d-s)/s}
\]](form_20.png)
Here 



This force supports both mesh-based and node-based cell populations.
Definition at line 68 of file PathmanathanInteractionForce.hpp.
| PathmanathanInteractionForce< ELEMENT_DIM, SPACE_DIM >::PathmanathanInteractionForce | ( | ) |
Constructor.
Definition at line 39 of file PathmanathanInteractionForce.cpp.
|
virtual |
Destructor.
Definition at line 45 of file PathmanathanInteractionForce.cpp.
|
protectedvirtual |
Overridden CalculateLinkInteraction() method.
Calculates the Pathmanathan force law expression after shared rest-length mechanics have been computed by AbstractVariableSizeTwoBodyInteractionForce.
| overlap | the amount by which the distance between nodes is less than the rest length |
| restLength | the rest length of the spring between the nodes |
| rUnitDifference | the unit vector pointing from one node to the other |
| multiplicationFactor | a multiplication factor for the spring constant |
Implements AbstractVariableSizeTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >.
Definition at line 50 of file PathmanathanInteractionForce.cpp.
| double PathmanathanInteractionForce< ELEMENT_DIM, SPACE_DIM >::GetAlpha | ( | ) |
Definition at line 68 of file PathmanathanInteractionForce.cpp.
|
virtual |
Overridden OutputForceParameters() method.
| rParamsFile | the file stream to which the parameters are output |
Reimplemented from AbstractVariableSizeTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >.
Reimplemented in DifferentialAdhesionPathmanathanInteractionForce< ELEMENT_DIM, SPACE_DIM >.
Definition at line 81 of file PathmanathanInteractionForce.cpp.
References AbstractVariableSizeTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >::OutputForceParameters().
Referenced by DifferentialAdhesionPathmanathanInteractionForce< 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 83 of file PathmanathanInteractionForce.hpp.
References PathmanathanInteractionForce< ELEMENT_DIM, SPACE_DIM >::mAlpha.
| void PathmanathanInteractionForce< ELEMENT_DIM, SPACE_DIM >::SetAlpha | ( | double | alpha | ) |
Set mAlpha.
| alpha | the new value of mAlpha |
Definition at line 74 of file PathmanathanInteractionForce.cpp.
|
friend |
Needed for serialization.
Definition at line 75 of file PathmanathanInteractionForce.hpp.
Definition at line 70 of file PathmanathanInteractionForce.hpp.
|
protected |
Parameter controlling the range of attraction between cells. A larger value makes the attractive force decay more rapidly with distance. Defaults to 5.0.
Definition at line 96 of file PathmanathanInteractionForce.hpp.
Referenced by PathmanathanInteractionForce< ELEMENT_DIM, SPACE_DIM >::serialize().