Chaste Commit::ca8ccdedf819b6e02855bc0e8e6f50bdecbc5208
|
#include <ImmersedBoundaryLinearInteractionForce.hpp>
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mSpringConst |
double | mRestLength |
double | mLaminaSpringConstMult |
double | mLaminaRestLengthMult |
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 elastic links between nodes in adjacent immersed boundaries.
Definition at line 54 of file ImmersedBoundaryLinearInteractionForce.hpp.
ImmersedBoundaryLinearInteractionForce< DIM >::ImmersedBoundaryLinearInteractionForce | ( | ) |
Constructor.
Definition at line 40 of file ImmersedBoundaryLinearInteractionForce.cpp.
|
virtual |
Destructor.
Definition at line 50 of file ImmersedBoundaryLinearInteractionForce.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 55 of file ImmersedBoundaryLinearInteractionForce.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 ImmersedBoundaryLinearInteractionForce< DIM >::GetLaminaRestLengthMult | ( | ) | const |
Definition at line 177 of file ImmersedBoundaryLinearInteractionForce.cpp.
double ImmersedBoundaryLinearInteractionForce< DIM >::GetLaminaSpringConstMult | ( | ) | const |
Definition at line 164 of file ImmersedBoundaryLinearInteractionForce.cpp.
double ImmersedBoundaryLinearInteractionForce< DIM >::GetRestLength | ( | ) | const |
Definition at line 152 of file ImmersedBoundaryLinearInteractionForce.cpp.
double ImmersedBoundaryLinearInteractionForce< DIM >::GetSpringConst | ( | ) | const |
Definition at line 139 of file ImmersedBoundaryLinearInteractionForce.cpp.
|
virtual |
Overridden OutputImmersedBoundaryForceParameters() method.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractImmersedBoundaryForce< DIM >.
Definition at line 126 of file ImmersedBoundaryLinearInteractionForce.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 67 of file ImmersedBoundaryLinearInteractionForce.hpp.
References ImmersedBoundaryLinearInteractionForce< DIM >::mLaminaRestLengthMult, ImmersedBoundaryLinearInteractionForce< DIM >::mLaminaSpringConstMult, ImmersedBoundaryLinearInteractionForce< DIM >::mRestLength, and ImmersedBoundaryLinearInteractionForce< DIM >::mSpringConst.
void ImmersedBoundaryLinearInteractionForce< DIM >::SetLaminaRestLengthMult | ( | double | laminaRestLengthMult | ) |
Set mLaminaRestLengthMult.
laminaRestLengthMult | the new value of mLaminaRestLengthMult |
Definition at line 183 of file ImmersedBoundaryLinearInteractionForce.cpp.
void ImmersedBoundaryLinearInteractionForce< DIM >::SetLaminaSpringConstMult | ( | double | laminaSpringConstMult | ) |
Set mLaminaSpringConstMult.
laminaSpringConstMult | the new value of mLaminaSpringConstMult |
Definition at line 170 of file ImmersedBoundaryLinearInteractionForce.cpp.
void ImmersedBoundaryLinearInteractionForce< DIM >::SetRestLength | ( | double | restLength | ) |
Set mRestLength.
restLength | the new value of mRestLength |
Definition at line 158 of file ImmersedBoundaryLinearInteractionForce.cpp.
void ImmersedBoundaryLinearInteractionForce< DIM >::SetSpringConst | ( | double | springConst | ) |
Set mSpringConst.
springConst | the new value of mSpringConst |
Definition at line 145 of file ImmersedBoundaryLinearInteractionForce.cpp.
|
friend |
Definition at line 58 of file ImmersedBoundaryLinearInteractionForce.hpp.
|
private |
Multiplicative factor to change equilibrium length of interactions involving a lamina node. Initialised to 1.0 in constructor.
Definition at line 98 of file ImmersedBoundaryLinearInteractionForce.hpp.
Referenced by ImmersedBoundaryLinearInteractionForce< DIM >::serialize().
|
private |
Multiplicative factor to change strength of interactions involving a lamina node. Initialised to 1.0 in constructor.
Definition at line 92 of file ImmersedBoundaryLinearInteractionForce.hpp.
Referenced by ImmersedBoundaryLinearInteractionForce< 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 86 of file ImmersedBoundaryLinearInteractionForce.hpp.
Referenced by ImmersedBoundaryLinearInteractionForce< DIM >::serialize().
|
private |
The basic spring constant associated with interactions. Initialised to 1e3 in constructor.
Definition at line 80 of file ImmersedBoundaryLinearInteractionForce.hpp.
Referenced by ImmersedBoundaryLinearInteractionForce< DIM >::serialize().