#include <AbstractForce.hpp>
Public Member Functions | |
AbstractForce () | |
virtual | ~AbstractForce () |
virtual void | AddForceContribution (std::vector< c_vector< double, DIM > > &rForces, AbstractTissue< DIM > &rTissue)=0 |
Private Member Functions | |
template<class Archive> | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
Definition at line 40 of file AbstractForce.hpp.
AbstractForce< DIM >::AbstractForce | ( | ) | [inline] |
Default constructor.
Definition at line 81 of file AbstractForce.hpp.
AbstractForce< DIM >::~AbstractForce | ( | ) | [inline, virtual] |
Destructor.
Definition at line 86 of file AbstractForce.hpp.
void AbstractForce< DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Serialize the object.
archive | ||
version |
Reimplemented in AbstractTwoBodyInteractionForce< DIM >, GeneralisedLinearSpringForce< DIM >, and LinearSpringWithVariableSpringConstantsForce< DIM >.
Definition at line 51 of file AbstractForce.hpp.
virtual void AbstractForce< DIM >::AddForceContribution | ( | std::vector< c_vector< double, DIM > > & | rForces, | |
AbstractTissue< DIM > & | rTissue | |||
) | [pure virtual] |
Calculates the force on each node.
This method must be overridden in concrete classes.
rForces | reference to vector of forces on nodes | |
rTissue | reference to the tissue |
Implemented in GeneralisedLinearSpringForce< DIM >, and LinearSpringWithVariableSpringConstantsForce< DIM >.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented in AbstractTwoBodyInteractionForce< DIM >, GeneralisedLinearSpringForce< DIM >, and LinearSpringWithVariableSpringConstantsForce< DIM >.
Definition at line 43 of file AbstractForce.hpp.