![]() |
Chaste Commit::f841a6fa79bd6f7a205054452b95ddf6d10aae23
|
#include <DifferentialAdhesionLinearSpringForce.hpp>
Inheritance diagram for DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >:
Collaboration diagram for DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >:Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
| double | mHomotypicLabelledSpringConstantMultiplier |
| double | mHeterotypicSpringConstantMultiplier |
Friends | |
| class | boost::serialization::access |
Additional Inherited Members | |
Protected Member Functions inherited from LinearSpringForce< ELEMENT_DIM, SPACE_DIM > | |
| c_vector< double, SPACE_DIM > | CalculateLinkInteraction (double overlap, double restLength, const c_vector< double, SPACE_DIM > &rUnitDifference, double multiplicationFactor) |
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 class for a two-body differential adhesion force law between labelled and unlabelled cells (as defined by the CellLabel cell property). Inherits from LinearSpringForce.
Designed for use in node and mesh-based simulations.
#2266 - throw exceptions if using other cell population objects?
#2266 - override CalculateForceBetweenNodes() to use a default rest length of 1.0 for all springs?
Definition at line 55 of file DifferentialAdhesionLinearSpringForce.hpp.
| DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::DifferentialAdhesionLinearSpringForce | ( | ) |
Constructor.
Definition at line 40 of file DifferentialAdhesionLinearSpringForce.cpp.
| double DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::GetHeterotypicSpringConstantMultiplier | ( | ) |
Definition at line 102 of file DifferentialAdhesionLinearSpringForce.cpp.
| double DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::GetHomotypicLabelledSpringConstantMultiplier | ( | ) |
Definition at line 89 of file DifferentialAdhesionLinearSpringForce.cpp.
|
virtual |
Overridden OutputForceParameters() method.
| rParamsFile | the file stream to which the parameters are output |
Reimplemented from LinearSpringForce< ELEMENT_DIM, SPACE_DIM >.
Definition at line 115 of file DifferentialAdhesionLinearSpringForce.cpp.
References LinearSpringForce< 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 91 of file DifferentialAdhesionLinearSpringForce.hpp.
References DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::mHeterotypicSpringConstantMultiplier, and DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::mHomotypicLabelledSpringConstantMultiplier.
| void DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::SetHeterotypicSpringConstantMultiplier | ( | double | heterotypicSpringConstantMultiplier | ) |
Set mHeterotypicSpringConstantMultiplier.
| heterotypicSpringConstantMultiplier | the new value of mHeterotypicSpringConstantMultiplier |
Definition at line 108 of file DifferentialAdhesionLinearSpringForce.cpp.
| void DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::SetHomotypicLabelledSpringConstantMultiplier | ( | double | labelledSpringConstantMultiplier | ) |
Set mHomotypicLabelledSpringConstantMultiplier.
| labelledSpringConstantMultiplier | the new value of mHomotypicLabelledSpringConstantMultiplier |
Definition at line 95 of file DifferentialAdhesionLinearSpringForce.cpp.
|
virtual |
Overridden VariableSpringConstantMultiplicationFactor() method.
This method takes account of the distinct spring constants present for homotypic (labelled-labelled and unlabelled-unlabelled) and heterotypic (labelled-unlabelled) interactions between neighbouring cells.
| nodeAGlobalIndex | index of one neighbouring node |
| nodeBGlobalIndex | index of the other neighbouring node |
| rCellPopulation | the cell population |
| isCloserThanRestLength | whether the neighbouring nodes lie closer than the rest length of their connecting spring |
Reimplemented from AbstractVariableSizeTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >.
Definition at line 48 of file DifferentialAdhesionLinearSpringForce.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCellUsingLocationIndex().
|
friend |
Needed for serialization.
Definition at line 83 of file DifferentialAdhesionLinearSpringForce.hpp.
|
private |
A scalar determining the relative spring constant for heterotypic (labelled-unlabelled) interactions between neighbouring cells, used in the overridden method VariableSpringConstantMultiplicationFactor().
Defaults to 1.0 in the constructor.
Definition at line 80 of file DifferentialAdhesionLinearSpringForce.hpp.
Referenced by DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::serialize().
|
private |
A scalar determining the relative spring constant for homotypic interactions between neighbouring labelled cells, used in the overridden method VariableSpringConstantMultiplicationFactor().
Defaults to 1.0 in the constructor.
Note that for homotypic interactions between neighbouring unlabelled cells, we use the multiplier value 1.0 that is returned by the method VariableSpringConstantMultiplicationFactor() in the parent class LinearSpringForce.
Definition at line 71 of file DifferentialAdhesionLinearSpringForce.hpp.
Referenced by DifferentialAdhesionLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::serialize().