Chaste Commit::ca8ccdedf819b6e02855bc0e8e6f50bdecbc5208
|
#include <ImmersedBoundaryMorseInteractionForce.hpp>
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mWellDepth |
double | mRestLength |
double | mLaminaWellDepthMult |
double | mLaminaRestLengthMult |
double | mWellWidth |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractImmersedBoundaryForce< DIM > | |
void | AddNormalNoiseToNodes (ImmersedBoundaryCellPopulation< DIM > &rCellPopulation) |
Protected Attributes inherited from AbstractImmersedBoundaryForce< DIM > | |
bool | mAdditiveNormalNoise |
double | mNormalNoiseMean |
double | mNormalNoiseStdDev |
A force class for use in immersed boundary simulations. This force implements Morse-potential-like links between nodes in adjacent immersed boundaries (https://en.wikipedia.org/wiki/Morse_potential). The well width is a constant interaction strength, the rest length is an equilibrium bond distance, and the well width is a parameter governing the profile of the curve.
Definition at line 57 of file ImmersedBoundaryMorseInteractionForce.hpp.
ImmersedBoundaryMorseInteractionForce< DIM >::ImmersedBoundaryMorseInteractionForce | ( | ) |
Constructor.
Definition at line 40 of file ImmersedBoundaryMorseInteractionForce.cpp.
|
virtual |
Destructor.
Definition at line 51 of file ImmersedBoundaryMorseInteractionForce.cpp.
|
virtual |
Overridden AddImmersedBoundaryForceContribution() method.
Calculates the force on each node in the immersed boundary cell population as a result of cell-cell interactions.
rNodePairs | reference to a vector set of node pairs between which to contribute the force |
rCellPopulation | reference to the cell population |
Implements AbstractImmersedBoundaryForce< DIM >.
Definition at line 56 of file ImmersedBoundaryMorseInteractionForce.cpp.
References Node< SPACE_DIM >::AddAppliedForceContribution(), Node< SPACE_DIM >::ContainingElementsBegin(), ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::GetAverageNodeSpacingOfElement(), ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::GetAverageNodeSpacingOfLamina(), ImmersedBoundaryCellPopulation< DIM >::GetInteractionDistance(), ImmersedBoundaryCellPopulation< DIM >::GetIntrinsicSpacing(), Node< SPACE_DIM >::GetRegion(), ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::GetVectorFromAtoB(), ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::NodesInDifferentElementOrLamina(), Node< SPACE_DIM >::rGetLocation(), and ImmersedBoundaryCellPopulation< DIM >::rGetMesh().
double ImmersedBoundaryMorseInteractionForce< DIM >::GetLaminaRestLengthMult | ( | ) | const |
Definition at line 184 of file ImmersedBoundaryMorseInteractionForce.cpp.
double ImmersedBoundaryMorseInteractionForce< DIM >::GetLaminaWellDepthMult | ( | ) | const |
Definition at line 171 of file ImmersedBoundaryMorseInteractionForce.cpp.
double ImmersedBoundaryMorseInteractionForce< DIM >::GetRestLength | ( | ) | const |
Definition at line 159 of file ImmersedBoundaryMorseInteractionForce.cpp.
double ImmersedBoundaryMorseInteractionForce< DIM >::GetWellDepth | ( | ) | const |
Definition at line 147 of file ImmersedBoundaryMorseInteractionForce.cpp.
double ImmersedBoundaryMorseInteractionForce< DIM >::GetWellWidth | ( | ) | const |
Definition at line 197 of file ImmersedBoundaryMorseInteractionForce.cpp.
|
virtual |
Overridden OutputImmersedBoundaryForceParameters() method.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractImmersedBoundaryForce< DIM >.
Definition at line 133 of file ImmersedBoundaryMorseInteractionForce.cpp.
References AbstractImmersedBoundaryForce< DIM >::OutputImmersedBoundaryForceParameters().
|
inlineprivate |
Boost Serialization method for archiving/checkpointing. Archives the object and its member variables.
archive | The boost archive. |
version | The current version of this class. |
Definition at line 69 of file ImmersedBoundaryMorseInteractionForce.hpp.
References ImmersedBoundaryMorseInteractionForce< DIM >::mLaminaRestLengthMult, ImmersedBoundaryMorseInteractionForce< DIM >::mLaminaWellDepthMult, ImmersedBoundaryMorseInteractionForce< DIM >::mRestLength, ImmersedBoundaryMorseInteractionForce< DIM >::mWellDepth, and ImmersedBoundaryMorseInteractionForce< DIM >::mWellWidth.
void ImmersedBoundaryMorseInteractionForce< DIM >::SetLaminaRestLengthMult | ( | double | laminaRestLengthMult | ) |
Set mLaminaRestLengthMult.
laminaRestLengthMult | the new value of mLaminaRestLengthMult |
Definition at line 190 of file ImmersedBoundaryMorseInteractionForce.cpp.
void ImmersedBoundaryMorseInteractionForce< DIM >::SetLaminaWellDepthMult | ( | double | laminaWellDepthMult | ) |
Set mLaminaWellDepthMult.
laminaWellDepthMult | the new value of mLaminaWellDepthMult |
Definition at line 177 of file ImmersedBoundaryMorseInteractionForce.cpp.
void ImmersedBoundaryMorseInteractionForce< DIM >::SetRestLength | ( | double | restLength | ) |
Set mRestLength.
restLength | the new value of mRestLength |
Definition at line 165 of file ImmersedBoundaryMorseInteractionForce.cpp.
void ImmersedBoundaryMorseInteractionForce< DIM >::SetWellDepth | ( | double | wellDepth | ) |
Set mWellDepth.
wellDepth | the new value of mWellDepth |
Definition at line 153 of file ImmersedBoundaryMorseInteractionForce.cpp.
void ImmersedBoundaryMorseInteractionForce< DIM >::SetWellWidth | ( | double | wellWidth | ) |
Set mWellWidth.
wellWidth | the new value of mWellWidth |
Definition at line 203 of file ImmersedBoundaryMorseInteractionForce.cpp.
|
friend |
Definition at line 60 of file ImmersedBoundaryMorseInteractionForce.hpp.
|
private |
Multiplicative factor to change equilibrium length of interactions involving a lamina node. Initialised to 1.0 in constructor.
Definition at line 100 of file ImmersedBoundaryMorseInteractionForce.hpp.
Referenced by ImmersedBoundaryMorseInteractionForce< DIM >::serialize().
|
private |
Multiplicative factor to change strength of interactions involving a lamina node. Initialised to 1.0 in constructor.
Definition at line 94 of file ImmersedBoundaryMorseInteractionForce.hpp.
Referenced by ImmersedBoundaryMorseInteractionForce< DIM >::serialize().
|
private |
The basic rest length associated with interactions, as a fraction of cell population's interaction distance. Initialised to 0.25 in constructor.
Definition at line 88 of file ImmersedBoundaryMorseInteractionForce.hpp.
Referenced by ImmersedBoundaryMorseInteractionForce< DIM >::serialize().
|
private |
The basic interaction strength. Initialised to 1e3 in constructor.
Definition at line 82 of file ImmersedBoundaryMorseInteractionForce.hpp.
Referenced by ImmersedBoundaryMorseInteractionForce< DIM >::serialize().
|
private |
The well width as a fraction of the cell population's interaction distance. Initialised to 0.25 in constructor.
Definition at line 106 of file ImmersedBoundaryMorseInteractionForce.hpp.
Referenced by ImmersedBoundaryMorseInteractionForce< DIM >::serialize().