Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
|
#include <BuskeAdhesiveForce.hpp>
Public Member Functions | |
BuskeAdhesiveForce () | |
double | GetAdhesionEnergyParameter () |
void | SetAdhesionEnergyParameter (double adhesionEnergyParameter) |
c_vector< double, DIM > | CalculateForceBetweenNodes (unsigned nodeAGlobalIndex, unsigned nodeBGlobalIndex, AbstractCellPopulation< DIM > &rCellPopulation) |
double | GetMagnitudeOfForce (double distanceBetweenNodes, double radiusOfCellOne, double radiusOfCellTwo) |
virtual void | OutputForceParameters (out_stream &rParamsFile) |
Public Member Functions inherited from AbstractTwoBodyInteractionForce< DIM > | |
AbstractTwoBodyInteractionForce () | |
bool | GetUseCutOffLength () |
void | SetCutOffLength (double cutOffLength) |
double | GetCutOffLength () |
virtual c_vector< double, SPACE_DIM > | CalculateForceBetweenNodes (unsigned nodeAGlobalIndex, unsigned nodeBGlobalIndex, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation)=0 |
void | AddForceContribution (AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation) |
virtual void | WriteDataToVisualizerSetupFile (out_stream &pVizSetupFile) |
Public Member Functions inherited from AbstractForce< ELEMENT_DIM, SPACE_DIM > | |
AbstractForce () | |
virtual | ~AbstractForce () |
void | OutputForceInfo (out_stream &rParamsFile) |
Public Member Functions inherited from Identifiable | |
virtual | ~Identifiable () |
std::string | GetIdentifier () const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mAdhesionEnergyParameter |
Friends | |
class | TestForcesNotForRelease |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Attributes inherited from AbstractTwoBodyInteractionForce< DIM > | |
bool | mUseCutOffLength |
double | mMechanicsCutOffLength |
A force law employed by Buske et al (2011) in their overlapping spheres model of the intestinal crypt (doi:10.1371/journal.pcbi.1001045).
Length is scaled by natural length.
Definition at line 52 of file BuskeAdhesiveForce.hpp.
BuskeAdhesiveForce< DIM >::BuskeAdhesiveForce | ( | ) |
Constructor.
Definition at line 39 of file BuskeAdhesiveForce.cpp.
c_vector< double, DIM > BuskeAdhesiveForce< DIM >::CalculateForceBetweenNodes | ( | unsigned | nodeAGlobalIndex, |
unsigned | nodeBGlobalIndex, | ||
AbstractCellPopulation< DIM > & | rCellPopulation | ||
) |
Note that this assumes they are connected and is called by rCalculateVelocitiesOfEachNode()
nodeAGlobalIndex | index of one neighbouring node |
nodeBGlobalIndex | index of the other neighbouring node |
rCellPopulation | the cell population |
Definition at line 58 of file BuskeAdhesiveForce.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetNode(), Node< SPACE_DIM >::GetRadius(), and Node< SPACE_DIM >::rGetLocation().
double BuskeAdhesiveForce< DIM >::GetAdhesionEnergyParameter | ( | ) |
Definition at line 46 of file BuskeAdhesiveForce.cpp.
double BuskeAdhesiveForce< DIM >::GetMagnitudeOfForce | ( | double | distanceBetweenNodes, |
double | radiusOfCellOne, | ||
double | radiusOfCellTwo | ||
) |
distanceBetweenNodes | the distance between two nodes |
radiusOfCellOne | radius of a cell |
radiusOfCellTwo | radius of a cell |
Definition at line 107 of file BuskeAdhesiveForce.cpp.
|
virtual |
Overridden OutputForceParameters() method.
rParamsFile | the file stream to which the parameters are output |
Reimplemented from AbstractTwoBodyInteractionForce< DIM >.
Definition at line 124 of file BuskeAdhesiveForce.cpp.
References AbstractTwoBodyInteractionForce< 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 66 of file BuskeAdhesiveForce.hpp.
References BuskeAdhesiveForce< DIM >::mAdhesionEnergyParameter.
void BuskeAdhesiveForce< DIM >::SetAdhesionEnergyParameter | ( | double | adhesionEnergyParameter | ) |
Set mAdhesionEnergyParameter.
adhesionEnergyParameter | the new value of mAdhesionEnergyParameter |
Definition at line 52 of file BuskeAdhesiveForce.cpp.
|
friend |
Needed for serialization.
Definition at line 58 of file BuskeAdhesiveForce.hpp.
|
friend |
Definition at line 54 of file BuskeAdhesiveForce.hpp.
|
private |
Adhesion energy parameter.
Represented by the parameter epsilon in the model by Buske et al (2011) in their off-lattice model of the intestinal crypt (doi:10.1371/journal.pcbi.1001045).
Definition at line 79 of file BuskeAdhesiveForce.hpp.
Referenced by BuskeAdhesiveForce< DIM >::serialize().