![]() |
Chaste
Release::3.4
|
#include <LinearSpringWithVariableSpringConstantsForce.hpp>
Inheritance diagram for LinearSpringWithVariableSpringConstantsForce< DIM >:
Collaboration diagram for LinearSpringWithVariableSpringConstantsForce< DIM >:Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &archive, const unsigned int version) |
Friends | |
| class | TestLinearSpringWithVariableSpringConstantsForce |
| class | boost::serialization::access |
A subclass of GeneralisedLinearSpringForce with variable spring constants.
Definition at line 48 of file LinearSpringWithVariableSpringConstantsForce.hpp.
| LinearSpringWithVariableSpringConstantsForce< DIM >::LinearSpringWithVariableSpringConstantsForce | ( | ) |
Constructor.
Definition at line 43 of file LinearSpringWithVariableSpringConstantsForce.cpp.
|
virtual |
Destructor.
Definition at line 58 of file LinearSpringWithVariableSpringConstantsForce.cpp.
| void LinearSpringWithVariableSpringConstantsForce< DIM >::AddForceContribution | ( | AbstractCellPopulation< DIM > & | rCellPopulation | ) |
Overridden AddForceContribution method.
| rCellPopulation | reference to the cell population |
Definition at line 221 of file LinearSpringWithVariableSpringConstantsForce.cpp.
References EXCEPTION, MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringsBegin(), and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringsEnd().
| double LinearSpringWithVariableSpringConstantsForce< DIM >::GetApoptoticSpringCompressionStiffness | ( | ) |
Definition at line 273 of file LinearSpringWithVariableSpringConstantsForce.cpp.
| double LinearSpringWithVariableSpringConstantsForce< DIM >::GetApoptoticSpringTensionStiffness | ( | ) |
Definition at line 260 of file LinearSpringWithVariableSpringConstantsForce.cpp.
| double LinearSpringWithVariableSpringConstantsForce< DIM >::GetBetaCatSpringScaler | ( | ) |
Definition at line 247 of file LinearSpringWithVariableSpringConstantsForce.cpp.
|
virtual |
Overridden OutputForceParameters() method.
| rParamsFile | the file stream to which the parameters are output |
Reimplemented from GeneralisedLinearSpringForce< DIM >.
Definition at line 286 of file LinearSpringWithVariableSpringConstantsForce.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 63 of file LinearSpringWithVariableSpringConstantsForce.hpp.
References LinearSpringWithVariableSpringConstantsForce< DIM >::mApoptoticSpringCompressionStiffness, LinearSpringWithVariableSpringConstantsForce< DIM >::mApoptoticSpringTensionStiffness, LinearSpringWithVariableSpringConstantsForce< DIM >::mBetaCatSpringScaler, LinearSpringWithVariableSpringConstantsForce< DIM >::mMutantMutantMultiplier, LinearSpringWithVariableSpringConstantsForce< DIM >::mNormalMutantMultiplier, LinearSpringWithVariableSpringConstantsForce< DIM >::mUseApoptoticSprings, LinearSpringWithVariableSpringConstantsForce< DIM >::mUseBCatSprings, LinearSpringWithVariableSpringConstantsForce< DIM >::mUseEdgeBasedSpringConstant, and LinearSpringWithVariableSpringConstantsForce< DIM >::mUseMutantSprings.
| void LinearSpringWithVariableSpringConstantsForce< DIM >::SetApoptoticSpringCompressionStiffness | ( | double | apoptoticSpringCompressionStiffness | ) |
Set mApoptoticSpringCompressionStiffness.
| apoptoticSpringCompressionStiffness | the new value of mApoptoticSpringCompressionStiffness |
Definition at line 279 of file LinearSpringWithVariableSpringConstantsForce.cpp.
| void LinearSpringWithVariableSpringConstantsForce< DIM >::SetApoptoticSprings | ( | bool | useApoptoticSprings | ) |
Set spring stiffness to be dependent on whether cells are apoptotic
| useApoptoticSprings | whether to have apoptosis-dependent spring stiffness |
Definition at line 84 of file LinearSpringWithVariableSpringConstantsForce.cpp.
| void LinearSpringWithVariableSpringConstantsForce< DIM >::SetApoptoticSpringTensionStiffness | ( | double | apoptoticSpringTensionStiffness | ) |
Set mApoptoticSpringTensionStiffness.
| apoptoticSpringTensionStiffness | the new value of mApoptoticSpringTensionStiffness |
Definition at line 266 of file LinearSpringWithVariableSpringConstantsForce.cpp.
| void LinearSpringWithVariableSpringConstantsForce< DIM >::SetBetaCateninSprings | ( | bool | useBCatSprings | ) |
Use the amount of beta-catenin on an edge to find spring constant.
| useBCatSprings | whether to use beta-catenin-dependent spring stiffness |
Definition at line 78 of file LinearSpringWithVariableSpringConstantsForce.cpp.
| void LinearSpringWithVariableSpringConstantsForce< DIM >::SetBetaCatSpringScaler | ( | double | betaCatSpringScaler | ) |
Set mBetaCatSpringScaler.
| betaCatSpringScaler | the new value of mBetaCatSpringScaler |
Definition at line 253 of file LinearSpringWithVariableSpringConstantsForce.cpp.
| void LinearSpringWithVariableSpringConstantsForce< DIM >::SetEdgeBasedSpringConstant | ( | bool | useEdgeBasedSpringConstant | ) |
Set whether to use an edge-based spring constant.
| useEdgeBasedSpringConstant | whether to use an edge-based spring constant |
Definition at line 63 of file LinearSpringWithVariableSpringConstantsForce.cpp.
| void LinearSpringWithVariableSpringConstantsForce< DIM >::SetMutantSprings | ( | bool | useMutantSprings, |
| double | mutantMutantMultiplier = 2, |
||
| double | normalMutantMultiplier = 1.5 |
||
| ) |
Use different spring strengths depending on two cells: Normal-normal, Normal-mutant, mutant-mutant
| useMutantSprings | whether to use mutant springs |
| mutantMutantMultiplier | the multiplier for springs connecting two mutant cells |
| normalMutantMultiplier | the multiplier for springs connecting a mutant cell with a normal cell |
Definition at line 70 of file LinearSpringWithVariableSpringConstantsForce.cpp.
| double LinearSpringWithVariableSpringConstantsForce< DIM >::VariableSpringConstantMultiplicationFactor | ( | unsigned | nodeAGlobalIndex, |
| unsigned | nodeBGlobalIndex, | ||
| AbstractCellPopulation< DIM > & | rCellPopulation, | ||
| bool | isCloserThanRestLength | ||
| ) |
Return a multiplication factor for the spring constant, which may depend on whether the given pair of neighbouring cells are e.g. undergoing apoptosis, have mutations, or experience variable levels of beta catenin.
| 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 |
Definition at line 90 of file LinearSpringWithVariableSpringConstantsForce.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCellUsingLocationIndex(), AbstractVanLeeuwen2009WntSwatCellCycleModel::GetMembraneBoundBetaCateninLevel(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetSurfaceAreaOfVoronoiElement(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetVoronoiEdgeLength(), AbstractCellProperty::IsType(), and GeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::VariableSpringConstantMultiplicationFactor().
|
friend |
Needed for serialization.
Definition at line 55 of file LinearSpringWithVariableSpringConstantsForce.hpp.
|
protected |
Non-dimensionalized 'stiffness' of a apoptotic cell under compression.
Definition at line 104 of file LinearSpringWithVariableSpringConstantsForce.hpp.
Referenced by LinearSpringWithVariableSpringConstantsForce< DIM >::serialize().
|
protected |
Non-dimensionalized 'stiffness' of a apoptotic cell under tension.
Definition at line 101 of file LinearSpringWithVariableSpringConstantsForce.hpp.
Referenced by LinearSpringWithVariableSpringConstantsForce< DIM >::serialize().
|
protected |
Scaling factor for beta catenin to spring strength.
Definition at line 98 of file LinearSpringWithVariableSpringConstantsForce.hpp.
Referenced by LinearSpringWithVariableSpringConstantsForce< DIM >::serialize().
|
protected |
Multiplier for spring stiffness if mutant.
Definition at line 86 of file LinearSpringWithVariableSpringConstantsForce.hpp.
Referenced by LinearSpringWithVariableSpringConstantsForce< DIM >::serialize().
|
protected |
Multiplier for spring stiffness if mutant.
Definition at line 89 of file LinearSpringWithVariableSpringConstantsForce.hpp.
Referenced by LinearSpringWithVariableSpringConstantsForce< DIM >::serialize().
|
protected |
Use springs which are dependent on whether cells are apoptotic.
Definition at line 95 of file LinearSpringWithVariableSpringConstantsForce.hpp.
Referenced by LinearSpringWithVariableSpringConstantsForce< DIM >::serialize().
|
protected |
Use springs which are dependent on beta-catenin levels.
Definition at line 92 of file LinearSpringWithVariableSpringConstantsForce.hpp.
Referenced by LinearSpringWithVariableSpringConstantsForce< DIM >::serialize().
|
protected |
Whether to use spring constant proportional to cell-cell contact length/area (defaults to false).
Definition at line 80 of file LinearSpringWithVariableSpringConstantsForce.hpp.
Referenced by LinearSpringWithVariableSpringConstantsForce< DIM >::serialize().
|
protected |
Whether to use different stiffnesses depending on whether either cell is a mutant.
Definition at line 83 of file LinearSpringWithVariableSpringConstantsForce.hpp.
Referenced by LinearSpringWithVariableSpringConstantsForce< DIM >::serialize().