![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <BuskeCompressionForce.hpp>
Public Member Functions | |
BuskeCompressionForce () | |
double | GetCompressionEnergyParameter () |
void | SetCompressionEnergyParameter (double compressionEnergyParameter) |
void | AddForceContribution (AbstractCellPopulation< DIM > &rCellPopulation) |
void | OutputForceParameters (out_stream &rParamsFile) |
![]() | |
AbstractForce () | |
virtual | ~AbstractForce () |
virtual void | AddForceContribution (AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation)=0 |
void | OutputForceInfo (out_stream &rParamsFile) |
virtual void | WriteDataToVisualizerSetupFile (out_stream &pVizSetupFile) |
![]() | |
virtual | ~Identifiable () |
std::string | GetIdentifier () const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mCompressionEnergyParameter |
Friends | |
class | TestForcesNotForRelease |
class | boost::serialization::access |
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.
This class specifically calculates the compression force which forms part of equation (A6) in the Buske paper.
Definition at line 55 of file BuskeCompressionForce.hpp.
BuskeCompressionForce< DIM >::BuskeCompressionForce | ( | ) |
Constructor.
Definition at line 40 of file BuskeCompressionForce.cpp.
void BuskeCompressionForce< DIM >::AddForceContribution | ( | AbstractCellPopulation< DIM > & | rCellPopulation | ) |
Overridden AddForceContribution() method.
rCellPopulation | a cell population object |
Target volume of the cell
Definition at line 59 of file BuskeCompressionForce.cpp.
References Node< SPACE_DIM >::AddAppliedForceContribution(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::End(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationIndexUsingCell(), NodeBasedCellPopulation< DIM >::GetNeighbouringNodeIndices(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetNode(), Node< SPACE_DIM >::GetRadius(), and Node< SPACE_DIM >::rGetLocation().
double BuskeCompressionForce< DIM >::GetCompressionEnergyParameter | ( | ) |
Definition at line 47 of file BuskeCompressionForce.cpp.
|
virtual |
Overridden OutputForceParameters() method.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractForce< DIM >.
Definition at line 142 of file BuskeCompressionForce.cpp.
References AbstractForce< ELEMENT_DIM, SPACE_DIM >::OutputForceParameters().
|
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 BuskeCompressionForce.hpp.
References BuskeCompressionForce< DIM >::mCompressionEnergyParameter.
void BuskeCompressionForce< DIM >::SetCompressionEnergyParameter | ( | double | compressionEnergyParameter | ) |
Set mCompressionEnergyParameter.
compressionEnergyParameter | the new value of mCompressionEnergyParameter |
Definition at line 53 of file BuskeCompressionForce.cpp.
|
friend |
Definition at line 60 of file BuskeCompressionForce.hpp.
|
friend |
Definition at line 57 of file BuskeCompressionForce.hpp.
|
private |
Represented by the parameter K in the model by Buske et al (2011) in their off-lattice model of the intestinal crypt (doi:10.1371/journal.pcbi.1001045).
Note: K is the bulk modulus of the spheres.
Definition at line 84 of file BuskeCompressionForce.hpp.
Referenced by BuskeCompressionForce< DIM >::serialize().