Chaste Release::3.1
|
#include <WelikyOsterForce.hpp>
Public Member Functions | |
WelikyOsterForce () | |
~WelikyOsterForce () | |
void | AddForceContribution (std::vector< c_vector< double, DIM > > &rForces, AbstractCellPopulation< DIM > &rCellPopulation) |
double | GetWelikyOsterAreaParameter () |
double | GetWelikyOsterPerimeterParameter () |
void | SetWelikyOsterAreaParameter (double welikyOsterAreaParameter) |
void | SetWelikyOsterPerimeterParameter (double welikyOsterPerimeterParameter) |
void | OutputForceParameters (out_stream &rParamsFile) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mWelikyOsterAreaParameter |
double | mWelikyOsterPerimeterParameter |
Friends | |
class | TestForces |
class | boost::serialization::access |
A force class for use in vertex-based simulations, based on a mechanical model proposed by M. Weliky and G. Oster ("The mechanical basis of cell rearrangement. I. Epithelial morphogenesis during Fundulus epiboly", Development 109:373-386).
The default values for the two model parameter member variables are our own best estimates, since they are not given in the Weliky & Oster paper.
Definition at line 54 of file WelikyOsterForce.hpp.
WelikyOsterForce< DIM >::WelikyOsterForce | ( | ) |
Constructor.
Definition at line 39 of file WelikyOsterForce.cpp.
WelikyOsterForce< DIM >::~WelikyOsterForce | ( | ) |
Destructor.
Definition at line 47 of file WelikyOsterForce.cpp.
void WelikyOsterForce< DIM >::AddForceContribution | ( | std::vector< c_vector< double, DIM > > & | rForces, |
AbstractCellPopulation< DIM > & | rCellPopulation | ||
) |
Overridden AddForceContribution() method.
Calculates the force on each node in the vertex-based cell population based on the Weliky Oster model.
rForces | reference to vector of forces on nodes |
rCellPopulation | reference to the cell population |
Definition at line 52 of file WelikyOsterForce.cpp.
References EXCEPTION, VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetElementIteratorBegin(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetElementIteratorEnd(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetSurfaceAreaOfElement(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetVectorFromAtoB(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetVolumeOfElement(), and VertexBasedCellPopulation< DIM >::rGetMesh().
double WelikyOsterForce< DIM >::GetWelikyOsterAreaParameter | ( | ) |
Definition at line 128 of file WelikyOsterForce.cpp.
double WelikyOsterForce< DIM >::GetWelikyOsterPerimeterParameter | ( | ) |
Definition at line 134 of file WelikyOsterForce.cpp.
void WelikyOsterForce< DIM >::OutputForceParameters | ( | out_stream & | rParamsFile | ) | [virtual] |
Overridden OutputForceParameters() method.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractForce< DIM >.
Definition at line 152 of file WelikyOsterForce.cpp.
References AbstractForce< ELEMENT_DIM, SPACE_DIM >::OutputForceParameters().
void WelikyOsterForce< DIM >::serialize | ( | Archive & | archive, |
const unsigned int | version | ||
) | [inline, private] |
Serialize the object.
archive | the archive |
version | the current version of this class |
Reimplemented from AbstractForce< DIM >.
Definition at line 72 of file WelikyOsterForce.hpp.
References WelikyOsterForce< DIM >::mWelikyOsterAreaParameter, and WelikyOsterForce< DIM >::mWelikyOsterPerimeterParameter.
void WelikyOsterForce< DIM >::SetWelikyOsterAreaParameter | ( | double | welikyOsterAreaParameter | ) |
Set mWelikyOsterAreaParameter.
welikyOsterAreaParameter | the new value of mWelikyOsterAreaParameter |
Definition at line 140 of file WelikyOsterForce.cpp.
void WelikyOsterForce< DIM >::SetWelikyOsterPerimeterParameter | ( | double | welikyOsterPerimeterParameter | ) |
Set mWelikyOsterPerimeterParameter.
welikyOsterPerimeterParameter | the new value of mWlikyOsterPerimeterParameter |
Definition at line 146 of file WelikyOsterForce.cpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractForce< DIM >.
Definition at line 70 of file WelikyOsterForce.hpp.
double WelikyOsterForce< DIM >::mWelikyOsterAreaParameter [private] |
Area parameter. Has units of kg (cell size at equilibrium rest length)^2 s^-2.
Definition at line 63 of file WelikyOsterForce.hpp.
Referenced by WelikyOsterForce< DIM >::serialize().
double WelikyOsterForce< DIM >::mWelikyOsterPerimeterParameter [private] |
Perimeter parameter. Has units of kg s^-2 (cell size at equilibrium rest length)^-1.
Definition at line 68 of file WelikyOsterForce.hpp.
Referenced by WelikyOsterForce< DIM >::serialize().