![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <NagaiHondaForce.hpp>
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, based on a mechanical model proposed by T. Nagai and H. Honda ("A dynamic cell model for the formation of epithelial tissues", Philosophical Magazine Part B 81:699-719). In contrast to the force proposed by Nagai and Honda this force has an additional force term implemented that scales with the perimeter of a cell to simulate the surface membrane energy. This particular perimeter force term in turn differs from the one proposed by Farhadifar et al (2007) in the sense that it employs a target perimeter.
Each of the model parameter member variables are rescaled such that mDampingConstantNormal takes the default value 1, whereas Nagai and Honda (who denote the parameter by nu) take the value 0.01.
Definition at line 61 of file NagaiHondaForce.hpp.
NagaiHondaForce< DIM >::NagaiHondaForce | ( | ) |
Constructor.
Definition at line 39 of file NagaiHondaForce.cpp.
|
virtual |
Destructor.
Definition at line 53 of file NagaiHondaForce.cpp.
|
virtual |
Overridden AddForceContribution() method.
Calculates the force on each node in the vertex-based cell population based on the Nagai Honda model.
rCellPopulation | reference to the cell population |
Definition at line 58 of file NagaiHondaForce.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().
|
virtual |
Get the adhesion parameter for the edge between two given nodes.
pNodeA | one node |
pNodeB | the other node |
rVertexCellPopulation | reference to the cell population |
Reimplemented in NagaiHondaDifferentialAdhesionForce< DIM >.
Definition at line 172 of file NagaiHondaForce.cpp.
References Node< SPACE_DIM >::rGetContainingElementIndices().
double NagaiHondaForce< DIM >::GetNagaiHondaCellBoundaryAdhesionEnergyParameter | ( | ) |
Definition at line 219 of file NagaiHondaForce.cpp.
double NagaiHondaForce< DIM >::GetNagaiHondaCellCellAdhesionEnergyParameter | ( | ) |
Definition at line 213 of file NagaiHondaForce.cpp.
double NagaiHondaForce< DIM >::GetNagaiHondaDeformationEnergyParameter | ( | ) |
Definition at line 201 of file NagaiHondaForce.cpp.
double NagaiHondaForce< DIM >::GetNagaiHondaMembraneSurfaceEnergyParameter | ( | ) |
Definition at line 207 of file NagaiHondaForce.cpp.
double NagaiHondaForce< DIM >::GetNagaiHondaTargetAreaParameter | ( | ) |
Definition at line 225 of file NagaiHondaForce.cpp.
|
virtual |
Overridden OutputForceParameters() method.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractForce< DIM >.
Definition at line 261 of file NagaiHondaForce.cpp.
References AbstractForce< ELEMENT_DIM, SPACE_DIM >::OutputForceParameters().
Referenced by NagaiHondaDifferentialAdhesionForce< 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 76 of file NagaiHondaForce.hpp.
References NagaiHondaForce< DIM >::mNagaiHondaCellBoundaryAdhesionEnergyParameter, NagaiHondaForce< DIM >::mNagaiHondaCellCellAdhesionEnergyParameter, NagaiHondaForce< DIM >::mNagaiHondaDeformationEnergyParameter, NagaiHondaForce< DIM >::mNagaiHondaMembraneSurfaceEnergyParameter, and NagaiHondaForce< DIM >::mNagaiHondaTargetAreaParameter.
void NagaiHondaForce< DIM >::SetNagaiHondaCellBoundaryAdhesionEnergyParameter | ( | double | nagaiHondaCellBoundaryAdhesionEnergyParameter | ) |
Set mNagaiHondaCellBoundaryAdhesionEnergyParameter.
nagaiHondaCellBoundaryAdhesionEnergyParameter | the new value of mNagaiHondaCellBoundaryAdhesionEnergyParameter |
Definition at line 249 of file NagaiHondaForce.cpp.
void NagaiHondaForce< DIM >::SetNagaiHondaCellCellAdhesionEnergyParameter | ( | double | nagaiHondaCellCellAdhesionEnergyEnergyParameter | ) |
Set mNagaiHondaCellCellAdhesionEnergyParameter. This parameter corresponds to 1/2 of the sigma parameter in the forces by Nagai et al. (2007).
nagaiHondaCellCellAdhesionEnergyEnergyParameter | the new value of mNagaiHondaCellCellAdhesionEnergyParameter |
Definition at line 243 of file NagaiHondaForce.cpp.
void NagaiHondaForce< DIM >::SetNagaiHondaDeformationEnergyParameter | ( | double | nagaiHondaDeformationEnergyParameter | ) |
Set mNagaiHondaDeformationEnergyParameter.
nagaiHondaDeformationEnergyParameter | the new value of mNagaiHondaDeformationEnergyParameter |
Definition at line 231 of file NagaiHondaForce.cpp.
void NagaiHondaForce< DIM >::SetNagaiHondaMembraneSurfaceEnergyParameter | ( | double | nagaiHondaMembraneSurfaceEnergyParameter | ) |
Set mNagaiHondaMembraneSurfaceEnergyParameter.
nagaiHondaMembraneSurfaceEnergyParameter | the new value of mNagaiHondaMembraneSurfaceEnergyParameter |
Definition at line 237 of file NagaiHondaForce.cpp.
void NagaiHondaForce< DIM >::SetNagaiHondaTargetAreaParameter | ( | double | nagaiHondaTargetAreaParameter | ) |
Set mNagaiHondaTargetAreaParameter.
nagaiHondaTargetAreaParameter | the new value of mNagaiHondaTargetAreaParameter |
Definition at line 255 of file NagaiHondaForce.cpp.
|
friend |
Definition at line 67 of file NagaiHondaForce.hpp.
|
friend |
Definition at line 63 of file NagaiHondaForce.hpp.
|
protected |
Cell-boundary adhesion energy parameter. Has units of kg (cell size at equilibrium rest length)^2 s^-2.
Definition at line 109 of file NagaiHondaForce.hpp.
Referenced by NagaiHondaForce< DIM >::serialize().
|
protected |
Cell-cell adhesion energy parameter. Has has units of kg (cell size at equilibrium rest length)^2 s^-2. This parameter corresponds to 1/2 of the sigma parameter introduced in the original paper. This slight difference comes from the fact that when we apply the forces to a particular node, each edge is visited twice - and hence the force originating from that edge is applied twice.
Definition at line 104 of file NagaiHondaForce.hpp.
Referenced by NagaiHondaForce< DIM >::serialize().
|
protected |
Cell deformation energy parameter. Has units of kg s^-2 (cell size at equilibrium rest length)^-1.
Definition at line 91 of file NagaiHondaForce.hpp.
Referenced by NagaiHondaForce< DIM >::serialize().
|
protected |
Cell membrane energy parameter. Has units of kg (cell size at equilibrium rest length) s^-2.
Definition at line 96 of file NagaiHondaForce.hpp.
Referenced by NagaiHondaForce< DIM >::serialize().
|
protected |
Target area parameter. Has units of (cell size at equilibrium rest length)^2.
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 118 of file NagaiHondaForce.hpp.
Referenced by NagaiHondaForce< DIM >::serialize().