AbstractForce< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <AbstractForce.hpp>

Inherits Identifiable.

Inherited by AbstractTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >, and AbstractTwoBodyInteractionForce< ELEMENT_DIM, ELEMENT_DIM >.

Collaboration diagram for AbstractForce< ELEMENT_DIM, SPACE_DIM >:
Collaboration graph
[legend]

List of all members.

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

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)

Friends

class boost::serialization::access

Detailed Description

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM>
class AbstractForce< ELEMENT_DIM, SPACE_DIM >

An abstract force class, for use in cell-based simulations.

Definition at line 48 of file AbstractForce.hpp.


Constructor & Destructor Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
AbstractForce< ELEMENT_DIM, SPACE_DIM >::AbstractForce (  )  [inline]

Default constructor.

Definition at line 39 of file AbstractForce.cpp.

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

Destructor.

Definition at line 44 of file AbstractForce.cpp.


Member Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM>
virtual void AbstractForce< ELEMENT_DIM, SPACE_DIM >::AddForceContribution ( AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > &  rCellPopulation  )  [pure virtual]

Calculates the force on each node.

This method must be overridden in concrete classes.

Parameters:
rCellPopulation reference to the cell population

Implemented in AbstractTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >, and AbstractTwoBodyInteractionForce< ELEMENT_DIM, ELEMENT_DIM >.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void AbstractForce< ELEMENT_DIM, SPACE_DIM >::OutputForceInfo ( out_stream &  rParamsFile  )  [inline]

Outputs force used in the simulation to file and then calls OutputForceParameters to output all relevant parameters.

Parameters:
rParamsFile the file stream to which the parameters are output

Definition at line 49 of file AbstractForce.cpp.

References Identifiable::GetIdentifier(), and AbstractForce< ELEMENT_DIM, SPACE_DIM >::OutputForceParameters().

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void AbstractForce< ELEMENT_DIM, SPACE_DIM >::OutputForceParameters ( out_stream &  rParamsFile  )  [inline, pure virtual]
template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM>
template<class Archive >
void AbstractForce< ELEMENT_DIM, SPACE_DIM >::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Friends And Related Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM>
friend class boost::serialization::access [friend]

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

Generated by  doxygen 1.6.2