#include <WelikyOsterForce.hpp>
Inherits AbstractForce< DIM >.
Public Member Functions | |
WelikyOsterForce () | |
~WelikyOsterForce () | |
void | AddForceContribution (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 | ( | ) | [inline] |
Constructor.
Definition at line 39 of file WelikyOsterForce.cpp.
WelikyOsterForce< DIM >::~WelikyOsterForce | ( | ) | [inline] |
Destructor.
Definition at line 47 of file WelikyOsterForce.cpp.
void WelikyOsterForce< DIM >::AddForceContribution | ( | AbstractCellPopulation< DIM > & | rCellPopulation | ) | [inline] |
Overridden AddForceContribution() method.
Calculates the force on each node in the vertex-based cell population based on the Weliky Oster model.
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(), VertexBasedCellPopulation< DIM >::GetNode(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetSurfaceAreaOfElement(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetVectorFromAtoB(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetVolumeOfElement(), WelikyOsterForce< DIM >::GetWelikyOsterAreaParameter(), WelikyOsterForce< DIM >::GetWelikyOsterPerimeterParameter(), and VertexBasedCellPopulation< DIM >::rGetMesh().
double WelikyOsterForce< DIM >::GetWelikyOsterAreaParameter | ( | ) | [inline] |
Definition at line 127 of file WelikyOsterForce.cpp.
References WelikyOsterForce< DIM >::mWelikyOsterAreaParameter.
Referenced by WelikyOsterForce< DIM >::AddForceContribution().
double WelikyOsterForce< DIM >::GetWelikyOsterPerimeterParameter | ( | ) | [inline] |
Definition at line 133 of file WelikyOsterForce.cpp.
References WelikyOsterForce< DIM >::mWelikyOsterPerimeterParameter.
Referenced by WelikyOsterForce< DIM >::AddForceContribution().
void WelikyOsterForce< DIM >::OutputForceParameters | ( | out_stream & | rParamsFile | ) | [inline, virtual] |
Overridden OutputForceParameters() method.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractForce< DIM >.
Definition at line 151 of file WelikyOsterForce.cpp.
References WelikyOsterForce< DIM >::mWelikyOsterAreaParameter, and WelikyOsterForce< DIM >::mWelikyOsterPerimeterParameter.
void WelikyOsterForce< DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Boost Serialization method for archiving/checkpointing. Archives the object and its member variables.
archive | The boost archive. | |
version | The current version of this class. |
Reimplemented from AbstractForce< DIM >.
Definition at line 79 of file WelikyOsterForce.hpp.
References WelikyOsterForce< DIM >::mWelikyOsterAreaParameter, and WelikyOsterForce< DIM >::mWelikyOsterPerimeterParameter.
void WelikyOsterForce< DIM >::SetWelikyOsterAreaParameter | ( | double | welikyOsterAreaParameter | ) | [inline] |
Set mWelikyOsterAreaParameter.
welikyOsterAreaParameter | the new value of mWelikyOsterAreaParameter |
Definition at line 139 of file WelikyOsterForce.cpp.
References WelikyOsterForce< DIM >::mWelikyOsterAreaParameter.
void WelikyOsterForce< DIM >::SetWelikyOsterPerimeterParameter | ( | double | welikyOsterPerimeterParameter | ) | [inline] |
Set mWelikyOsterPerimeterParameter.
welikyOsterPerimeterParameter | the new value of mWlikyOsterPerimeterParameter |
Definition at line 145 of file WelikyOsterForce.cpp.
References WelikyOsterForce< DIM >::mWelikyOsterPerimeterParameter.
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 >::GetWelikyOsterAreaParameter(), WelikyOsterForce< DIM >::OutputForceParameters(), WelikyOsterForce< DIM >::serialize(), and WelikyOsterForce< DIM >::SetWelikyOsterAreaParameter().
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 >::GetWelikyOsterPerimeterParameter(), WelikyOsterForce< DIM >::OutputForceParameters(), WelikyOsterForce< DIM >::serialize(), and WelikyOsterForce< DIM >::SetWelikyOsterPerimeterParameter().