![]() |
Chaste Commit::f841a6fa79bd6f7a205054452b95ddf6d10aae23
|
#include <LinearSpringForce.hpp>
Inheritance diagram for LinearSpringForce< ELEMENT_DIM, SPACE_DIM >:
Collaboration diagram for LinearSpringForce< 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) |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &archive, const unsigned int version) |
Friends | |
| class | TestForces |
| class | boost::serialization::access |
Additional Inherited Members | |
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 |
A linear spring force law between pairs of neighbouring nodes.
Implements the force law employed by Meineke et al (2001) in their off-lattice model of the intestinal crypt (doi:10.1046/j.0960-7722.2001.00216.x).
Each pair of neighbouring nodes are assumed to be connected by a linear spring. The force of node 
![\[
\mathbf{F}_{i}(t) = \sum_{j} \mu_{i,j} ( || \mathbf{r}_{i,j} || - s_{i,j}(t) ) \hat{\mathbf{r}}_{i,j}.
\]](form_12.png)
Here 






Length is scaled by natural length. Time is in hours.
Definition at line 67 of file LinearSpringForce.hpp.
| LinearSpringForce< ELEMENT_DIM, SPACE_DIM >::LinearSpringForce | ( | ) |
Constructor.
Definition at line 39 of file LinearSpringForce.cpp.
|
virtual |
Destructor.
Definition at line 45 of file LinearSpringForce.cpp.
|
protectedvirtual |
Overridden CalculateLinkInteraction() method.
Calculates the linear spring force 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 LinearSpringForce.cpp.
|
virtual |
Overridden OutputForceParameters() method.
| rParamsFile | the file stream to which the parameters are output |
Reimplemented from AbstractVariableSizeTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >.
Reimplemented in DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >, CryptProjectionForce, and LinearSpringWithVariableSpringConstantsForce< DIM >.
Definition at line 59 of file LinearSpringForce.cpp.
References AbstractVariableSizeTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >::OutputForceParameters().
Referenced by DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::OutputForceParameters(), CryptProjectionForce::OutputForceParameters(), and LinearSpringWithVariableSpringConstantsForce< DIM >::OutputForceParameters().
|
inlineprivate |
Archive the object and its member variables.
| archive | the archive |
| version | the current version of this class |
Definition at line 82 of file LinearSpringForce.hpp.
|
friend |
Needed for serialization.
Definition at line 74 of file LinearSpringForce.hpp.
Definition at line 69 of file LinearSpringForce.hpp.