AbstractForce< DIM > Class Template Reference

#include <AbstractForce.hpp>

Inheritance diagram for AbstractForce< DIM >:

Inheritance graph
[legend]

List of all members.

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


Detailed Description

template<unsigned DIM>
class AbstractForce< DIM >

An abstract force class.

Definition at line 40 of file AbstractForce.hpp.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 81 of file AbstractForce.hpp.

template<unsigned DIM>
AbstractForce< DIM >::~AbstractForce (  )  [inline, virtual]

Destructor.

Definition at line 86 of file AbstractForce.hpp.


Member Function Documentation

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

Serialize the object.

Parameters:
archive 
version 

Reimplemented in AbstractTwoBodyInteractionForce< DIM >, GeneralisedLinearSpringForce< DIM >, and LinearSpringWithVariableSpringConstantsForce< DIM >.

Definition at line 51 of file AbstractForce.hpp.

template<unsigned DIM>
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.

Parameters:
rForces reference to vector of forces on nodes
rTissue reference to the tissue

Implemented in GeneralisedLinearSpringForce< DIM >, and LinearSpringWithVariableSpringConstantsForce< DIM >.


Friends And Related Function Documentation

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


The documentation for this class was generated from the following file:

Generated on Wed Mar 18 12:52:04 2009 for Chaste by  doxygen 1.5.5