BuskeAdhesiveForce< DIM > Class Template Reference

#include <BuskeAdhesiveForce.hpp>

Inherits AbstractTwoBodyInteractionForce< DIM >.

Collaboration diagram for BuskeAdhesiveForce< DIM >:
Collaboration graph
[legend]

List of all members.

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)

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

Detailed Description

template<unsigned DIM>
class BuskeAdhesiveForce< DIM >

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.

Todo:
does this mean natural radius of a cell? If so at what age? (#1764) Time is in hours.

Definition at line 45 of file BuskeAdhesiveForce.hpp.


Constructor & Destructor Documentation

template<unsigned DIM>
BuskeAdhesiveForce< DIM >::BuskeAdhesiveForce (  )  [inline]

Constructor.

Definition at line 32 of file BuskeAdhesiveForce.cpp.


Member Function Documentation

template<unsigned DIM>
c_vector< double, DIM > BuskeAdhesiveForce< DIM >::CalculateForceBetweenNodes ( unsigned  nodeAGlobalIndex,
unsigned  nodeBGlobalIndex,
AbstractCellPopulation< DIM > &  rCellPopulation 
) [inline, virtual]

Calculate the force between two nodes.

Note that this assumes they are connected and is called by rCalculateVelocitiesOfEachNode()

Parameters:
nodeAGlobalIndex index of one neighbouring node
nodeBGlobalIndex index of the other neighbouring node
rCellPopulation the cell population

Implements AbstractTwoBodyInteractionForce< DIM >.

Definition at line 51 of file BuskeAdhesiveForce.cpp.

References NodesOnlyMesh< SPACE_DIM >::GetCellRadius(), AbstractTwoBodyInteractionForce< DIM >::GetCutOffLength(), BuskeAdhesiveForce< DIM >::GetMagnitudeOfForce(), AbstractCellPopulation< DIM >::GetNode(), and AbstractTwoBodyInteractionForce< DIM >::mUseCutOffLength.

template<unsigned DIM>
double BuskeAdhesiveForce< DIM >::GetAdhesionEnergyParameter (  )  [inline]

Get mAdhesionEnergyParameter.

Definition at line 39 of file BuskeAdhesiveForce.cpp.

References BuskeAdhesiveForce< DIM >::mAdhesionEnergyParameter.

template<unsigned DIM>
double BuskeAdhesiveForce< DIM >::GetMagnitudeOfForce ( double  distanceBetweenNodes,
double  radiusOfCellOne,
double  radiusOfCellTwo 
) [inline]

Calculate the magnitude of the force between two nodes that are a given distance apart and are associated with given cell radii.

Parameters:
distanceBetweenNodes the distance between two nodes
radiusOfCellOne radius of a cell
radiusOfCellTwo radius of a cell

Definition at line 99 of file BuskeAdhesiveForce.cpp.

References BuskeAdhesiveForce< DIM >::mAdhesionEnergyParameter.

Referenced by BuskeAdhesiveForce< DIM >::CalculateForceBetweenNodes().

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

Overridden OutputForceParameters() method.

Parameters:
rParamsFile the file stream to which the parameters are output

Reimplemented from AbstractTwoBodyInteractionForce< DIM >.

Definition at line 116 of file BuskeAdhesiveForce.cpp.

References BuskeAdhesiveForce< DIM >::mAdhesionEnergyParameter.

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

Archive the object and its member variables.

Parameters:
archive the archive
version the current version of this class

Reimplemented from AbstractTwoBodyInteractionForce< DIM >.

Definition at line 59 of file BuskeAdhesiveForce.hpp.

References BuskeAdhesiveForce< DIM >::mAdhesionEnergyParameter.

template<unsigned DIM>
void BuskeAdhesiveForce< DIM >::SetAdhesionEnergyParameter ( double  adhesionEnergyParameter  )  [inline]

Set mAdhesionEnergyParameter.

Parameters:
adhesionEnergyParameter the new value of mAdhesionEnergyParameter

Definition at line 45 of file BuskeAdhesiveForce.cpp.

References BuskeAdhesiveForce< DIM >::mAdhesionEnergyParameter.


Friends And Related Function Documentation

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

Needed for serialization.

Reimplemented from AbstractTwoBodyInteractionForce< DIM >.

Definition at line 51 of file BuskeAdhesiveForce.hpp.


Member Data Documentation

template<unsigned DIM>
double BuskeAdhesiveForce< DIM >::mAdhesionEnergyParameter [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 72 of file BuskeAdhesiveForce.hpp.

Referenced by BuskeAdhesiveForce< DIM >::GetAdhesionEnergyParameter(), BuskeAdhesiveForce< DIM >::GetMagnitudeOfForce(), BuskeAdhesiveForce< DIM >::OutputForceParameters(), BuskeAdhesiveForce< DIM >::serialize(), and BuskeAdhesiveForce< DIM >::SetAdhesionEnergyParameter().


The documentation for this class was generated from the following files:
Generated on Thu Dec 22 13:02:59 2011 for Chaste by  doxygen 1.6.3