Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
|
#include <FarhadifarForce.hpp>
Protected Attributes | |
double | mAreaElasticityParameter |
double | mPerimeterContractilityParameter |
double | mLineTensionParameter |
double | mBoundaryLineTensionParameter |
double | mTargetAreaParameter |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | TestForces |
class | boost::serialization::access |
A force class for use in Vertex-based simulations. This force is based on the Energy function proposed by Farhadifar et al in Curr. Biol., 2007, 17, 2095-2104.
Definition at line 55 of file FarhadifarForce.hpp.
FarhadifarForce< DIM >::FarhadifarForce | ( | ) |
Constructor.
Definition at line 39 of file FarhadifarForce.cpp.
|
virtual |
Destructor.
Definition at line 50 of file FarhadifarForce.cpp.
|
virtual |
Overridden AddForceContribution() method.
Calculates the force on each node in the vertex-based cell population based on the energy function Farhadifar's model.
rCellPopulation | reference to the cell population |
Definition at line 55 of file FarhadifarForce.cpp.
References Node< SPACE_DIM >::AddAppliedForceContribution(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), EXCEPTION, VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetAreaGradientOfElementAtNode(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCellUsingLocationIndex(), VertexBasedCellPopulation< DIM >::GetElement(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetElementIteratorBegin(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetElementIteratorEnd(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetIndex(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetNextEdgeGradientOfElementAtNode(), VertexBasedCellPopulation< DIM >::GetNode(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNode(), MutableElement< ELEMENT_DIM, SPACE_DIM >::GetNodeLocalIndex(), VertexBasedCellPopulation< DIM >::GetNumElements(), VertexBasedCellPopulation< DIM >::GetNumNodes(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetSurfaceAreaOfElement(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetVolumeOfElement(), Node< SPACE_DIM >::rGetContainingElementIndices(), and VertexBasedCellPopulation< DIM >::rGetMesh().
double FarhadifarForce< DIM >::GetAreaElasticityParameter | ( | ) |
Definition at line 206 of file FarhadifarForce.cpp.
double FarhadifarForce< DIM >::GetBoundaryLineTensionParameter | ( | ) |
Definition at line 224 of file FarhadifarForce.cpp.
double FarhadifarForce< DIM >::GetLineTensionParameter | ( | ) |
Definition at line 218 of file FarhadifarForce.cpp.
|
virtual |
Get the line tension parameter for the edge between two given nodes.
pNodeA | one node |
pNodeB | the other node |
rVertexCellPopulation | reference to the cell population |
Reimplemented in PlanarPolarisedFarhadifarForce< DIM >.
Definition at line 175 of file FarhadifarForce.cpp.
References Node< SPACE_DIM >::rGetContainingElementIndices().
double FarhadifarForce< DIM >::GetPerimeterContractilityParameter | ( | ) |
Definition at line 212 of file FarhadifarForce.cpp.
double FarhadifarForce< DIM >::GetTargetAreaParameter | ( | ) |
Definition at line 230 of file FarhadifarForce.cpp.
|
virtual |
Overridden OutputForceParameters() method.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractForce< DIM >.
Reimplemented in PlanarPolarisedFarhadifarForce< DIM >.
Definition at line 266 of file FarhadifarForce.cpp.
References AbstractForce< ELEMENT_DIM, SPACE_DIM >::OutputForceParameters().
Referenced by PlanarPolarisedFarhadifarForce< 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 70 of file FarhadifarForce.hpp.
References FarhadifarForce< DIM >::mAreaElasticityParameter, FarhadifarForce< DIM >::mBoundaryLineTensionParameter, FarhadifarForce< DIM >::mLineTensionParameter, FarhadifarForce< DIM >::mPerimeterContractilityParameter, and FarhadifarForce< DIM >::mTargetAreaParameter.
void FarhadifarForce< DIM >::SetAreaElasticityParameter | ( | double | areaElasticityParameter | ) |
Set mAreaElasticityParameter.
areaElasticityParameter | the new value of mAreaElasticityParameter |
Definition at line 236 of file FarhadifarForce.cpp.
void FarhadifarForce< DIM >::SetBoundaryLineTensionParameter | ( | double | boundaryLineTensionParameter | ) |
Set mBoundaryLineTensionParameter.
boundaryLineTensionParameter | the new value of mBoundaryLineTensionParameter |
Definition at line 254 of file FarhadifarForce.cpp.
void FarhadifarForce< DIM >::SetLineTensionParameter | ( | double | lineTensionParameter | ) |
Set mLineTensionParameter.
lineTensionParameter | the new value of mLineTensionParameter |
Definition at line 248 of file FarhadifarForce.cpp.
void FarhadifarForce< DIM >::SetPerimeterContractilityParameter | ( | double | perimeterContractilityParameter | ) |
Set mPerimeterContractilityParameter.
perimeterContractilityParameter | the new value of perimterContractilityParameter |
Definition at line 242 of file FarhadifarForce.cpp.
void FarhadifarForce< DIM >::SetTargetAreaParameter | ( | double | targetAreaParameter | ) |
Set mTargetAreaParameter.
targetAreaParameter | the new value of mTargetAreaParameter |
Definition at line 260 of file FarhadifarForce.cpp.
|
friend |
Definition at line 61 of file FarhadifarForce.hpp.
|
friend |
Definition at line 57 of file FarhadifarForce.hpp.
|
protected |
The strength of the area term in the model. Corresponds to K_alpha in Farhadifar's paper.
Definition at line 85 of file FarhadifarForce.hpp.
Referenced by FarhadifarForce< DIM >::serialize().
|
protected |
The strength of the line tension at the boundary. This term corresponds to Lambda_{i,j} in Farhadifar's paper.
Definition at line 100 of file FarhadifarForce.hpp.
Referenced by FarhadifarForce< DIM >::serialize().
|
protected |
The strength of the line tension term in the model. Lambda_{i,j} in Farhadifar's paper.
Definition at line 95 of file FarhadifarForce.hpp.
Referenced by FarhadifarForce< DIM >::serialize().
|
protected |
The strength of the perimeter term in the model. Corresponds to Gamma_alpha in Farhadifar's paper.
Definition at line 90 of file FarhadifarForce.hpp.
Referenced by FarhadifarForce< DIM >::serialize().
|
protected |
The target area. This term corresponds to A_0 in Farhadifar's paper.
Note: If a subclass of AbstractTargetAreaModifier is present in the cell-based simulation, then we use the CellData item "target area" stored in each Cell in the force calculation instead of this parameter value.
Definition at line 109 of file FarhadifarForce.hpp.
Referenced by FarhadifarForce< DIM >::serialize().