Chaste
Release::3.4
|
#include <AbstractForce.hpp>
Public Member Functions | |
AbstractForce () | |
virtual | ~AbstractForce () |
virtual void | AddForceContribution (AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation)=0 |
void | OutputForceInfo (out_stream &rParamsFile) |
virtual void | OutputForceParameters (out_stream &rParamsFile)=0 |
Public Member Functions inherited from Identifiable | |
virtual | ~Identifiable () |
std::string | GetIdentifier () const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
An abstract force class, for use in cell-based simulations.
Definition at line 48 of file AbstractForce.hpp.
AbstractForce< ELEMENT_DIM, SPACE_DIM >::AbstractForce | ( | ) |
Default constructor.
Definition at line 39 of file AbstractForce.cpp.
|
virtual |
Destructor.
Definition at line 44 of file AbstractForce.cpp.
|
pure virtual |
Calculates the force on each node.
This method must be overridden in concrete classes.
rCellPopulation | reference to the cell population |
Implemented in AbstractTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >, and AbstractTwoBodyInteractionForce< ELEMENT_DIM, ELEMENT_DIM >.
void AbstractForce< ELEMENT_DIM, SPACE_DIM >::OutputForceInfo | ( | out_stream & | rParamsFile | ) |
Outputs force used in the simulation to file and then calls OutputForceParameters to output all relevant parameters.
rParamsFile | the file stream to which the parameters are output |
Definition at line 49 of file AbstractForce.cpp.
|
pure virtual |
Outputs force parameters to file.
As this method is pure virtual, it must be overridden in subclasses.
rParamsFile | the file stream to which the parameters are output |
Implemented in LinearSpringWithVariableSpringConstantsForce< DIM >, GeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >, GeneralisedLinearSpringForce< DIM >, GeneralisedLinearSpringForce< 2 >, NagaiHondaForce< DIM >, CryptProjectionForce, FarhadifarForce< DIM >, NagaiHondaDifferentialAdhesionForce< DIM >, DiffusionForce< DIM >, DifferentialAdhesionGeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >, WelikyOsterForce< DIM >, BuskeElasticForce< DIM >, AbstractTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >, AbstractTwoBodyInteractionForce< DIM >, AbstractTwoBodyInteractionForce< ELEMENT_DIM, ELEMENT_DIM >, BuskeAdhesiveForce< DIM >, BuskeCompressionForce< DIM >, VertexCryptBoundaryForce< DIM >, ChemotacticForce< DIM >, and RepulsionForce< DIM >.
Definition at line 59 of file AbstractForce.cpp.
Referenced by ChemotacticForce< DIM >::OutputForceParameters(), VertexCryptBoundaryForce< DIM >::OutputForceParameters(), BuskeCompressionForce< DIM >::OutputForceParameters(), AbstractTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >::OutputForceParameters(), WelikyOsterForce< DIM >::OutputForceParameters(), DiffusionForce< DIM >::OutputForceParameters(), FarhadifarForce< DIM >::OutputForceParameters(), and NagaiHondaForce< DIM >::OutputForceParameters().
|
inlineprivate |
Serialize the object.
archive | the archive |
version | the current version of this class |
Definition at line 59 of file AbstractForce.hpp.
|
friend |
Needed for serialization.
Definition at line 51 of file AbstractForce.hpp.