Chaste Release::3.1
WelikyOsterForce< DIM > Class Template Reference

#include <WelikyOsterForce.hpp>

Inheritance diagram for WelikyOsterForce< DIM >:
Collaboration diagram for WelikyOsterForce< DIM >:

List of all members.

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

Detailed Description

template<unsigned DIM>
class WelikyOsterForce< DIM >

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.


Constructor & Destructor Documentation

template<unsigned DIM>
WelikyOsterForce< DIM >::WelikyOsterForce ( )

Constructor.

Definition at line 39 of file WelikyOsterForce.cpp.

template<unsigned DIM>
WelikyOsterForce< DIM >::~WelikyOsterForce ( )

Destructor.

Definition at line 47 of file WelikyOsterForce.cpp.


Member Function Documentation

template<unsigned DIM>
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.

Parameters:
rForcesreference to vector of forces on nodes
rCellPopulationreference 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().

template<unsigned DIM>
double WelikyOsterForce< DIM >::GetWelikyOsterAreaParameter ( )
Returns:
mWelikyOsterAreaParameter.

Definition at line 128 of file WelikyOsterForce.cpp.

template<unsigned DIM>
double WelikyOsterForce< DIM >::GetWelikyOsterPerimeterParameter ( )
Returns:
mWelikyOsterPerimeterParameter.

Definition at line 134 of file WelikyOsterForce.cpp.

template<unsigned DIM>
void WelikyOsterForce< DIM >::OutputForceParameters ( out_stream &  rParamsFile) [virtual]

Overridden OutputForceParameters() method.

Parameters:
rParamsFilethe 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().

template<unsigned DIM>
template<class Archive >
void WelikyOsterForce< DIM >::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Serialize the object.

Parameters:
archivethe archive
versionthe 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.

template<unsigned DIM>
void WelikyOsterForce< DIM >::SetWelikyOsterAreaParameter ( double  welikyOsterAreaParameter)

Set mWelikyOsterAreaParameter.

Parameters:
welikyOsterAreaParameterthe new value of mWelikyOsterAreaParameter

Definition at line 140 of file WelikyOsterForce.cpp.

template<unsigned DIM>
void WelikyOsterForce< DIM >::SetWelikyOsterPerimeterParameter ( double  welikyOsterPerimeterParameter)

Set mWelikyOsterPerimeterParameter.

Parameters:
welikyOsterPerimeterParameterthe new value of mWlikyOsterPerimeterParameter

Definition at line 146 of file WelikyOsterForce.cpp.


Friends And Related Function Documentation

template<unsigned DIM>
friend class boost::serialization::access [friend]

Needed for serialization.

Reimplemented from AbstractForce< DIM >.

Definition at line 70 of file WelikyOsterForce.hpp.


Member Data Documentation

template<unsigned DIM>
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().

template<unsigned DIM>
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().


The documentation for this class was generated from the following files: