![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <DifferentialAdhesionGeneralisedLinearSpringForce.hpp>
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 | |
![]() | |
double | mMeinekeSpringStiffness |
double | mMeinekeDivisionRestingSpringLength |
double | mMeinekeSpringGrowthDuration |
![]() | |
bool | mUseCutOffLength |
double | mMechanicsCutOffLength |
A class for a simple two-body differential adhesion force law between labelled and unlabelled cells (as defined by the CellLabel cell property).
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 52 of file DifferentialAdhesionGeneralisedLinearSpringForce.hpp.
DifferentialAdhesionGeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::DifferentialAdhesionGeneralisedLinearSpringForce | ( | ) |
Constructor.
Definition at line 40 of file DifferentialAdhesionGeneralisedLinearSpringForce.cpp.
double DifferentialAdhesionGeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::GetHeterotypicSpringConstantMultiplier | ( | ) |
Definition at line 103 of file DifferentialAdhesionGeneralisedLinearSpringForce.cpp.
double DifferentialAdhesionGeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::GetHomotypicLabelledSpringConstantMultiplier | ( | ) |
Definition at line 90 of file DifferentialAdhesionGeneralisedLinearSpringForce.cpp.
|
virtual |
Overridden OutputForceParameters() method.
rParamsFile | the file stream to which the parameters are output |
Reimplemented from GeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >.
Definition at line 116 of file DifferentialAdhesionGeneralisedLinearSpringForce.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 88 of file DifferentialAdhesionGeneralisedLinearSpringForce.hpp.
References DifferentialAdhesionGeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::mHeterotypicSpringConstantMultiplier, and DifferentialAdhesionGeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::mHomotypicLabelledSpringConstantMultiplier.
void DifferentialAdhesionGeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::SetHeterotypicSpringConstantMultiplier | ( | double | heterotypicSpringConstantMultiplier | ) |
Set mHeterotypicSpringConstantMultiplier.
heterotypicSpringConstantMultiplier | the new value of mHeterotypicSpringConstantMultiplier |
Definition at line 109 of file DifferentialAdhesionGeneralisedLinearSpringForce.cpp.
void DifferentialAdhesionGeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::SetHomotypicLabelledSpringConstantMultiplier | ( | double | labelledSpringConstantMultiplier | ) |
Set mHomotypicLabelledSpringConstantMultiplier.
labelledSpringConstantMultiplier | the new value of mHomotypicLabelledSpringConstantMultiplier |
Definition at line 96 of file DifferentialAdhesionGeneralisedLinearSpringForce.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 GeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >.
Definition at line 48 of file DifferentialAdhesionGeneralisedLinearSpringForce.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCellUsingLocationIndex().
|
friend |
Needed for serialization.
Definition at line 80 of file DifferentialAdhesionGeneralisedLinearSpringForce.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 77 of file DifferentialAdhesionGeneralisedLinearSpringForce.hpp.
Referenced by DifferentialAdhesionGeneralisedLinearSpringForce< 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 GeneralisedLinearSpringForce.
Definition at line 68 of file DifferentialAdhesionGeneralisedLinearSpringForce.hpp.
Referenced by DifferentialAdhesionGeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::serialize().