Chaste  Release::3.4
LabelBasedContractionCellFactory< DIM > Class Template Reference

#include <LabelBasedContractionCellFactory.hpp>

+ Inheritance diagram for LabelBasedContractionCellFactory< DIM >:
+ Collaboration diagram for LabelBasedContractionCellFactory< DIM >:

Public Member Functions

 LabelBasedContractionCellFactory (ContractionModelName contractionModelName)
 
AbstractContractionModelCreateContractionCellForElement (Element< DIM, DIM > *pElement)
 
- Public Member Functions inherited from AbstractContractionCellFactory< DIM >
void SetMechanicsMesh (QuadraticMesh< DIM > *pMesh)
 
virtual ~AbstractContractionCellFactory ()
 

Private Attributes

ContractionModelName mContractionModelName
 

Additional Inherited Members

- Protected Attributes inherited from AbstractContractionCellFactory< DIM >
QuadraticMesh< DIM > * mpMesh
 

Detailed Description

template<unsigned DIM>
class LabelBasedContractionCellFactory< DIM >

This class provides homogeneous cells of a certain pre-specified type (from the list in ContractionModelName.hpp) across the whole mechanics mesh.

Definition at line 53 of file LabelBasedContractionCellFactory.hpp.

Constructor & Destructor Documentation

template<unsigned DIM>
LabelBasedContractionCellFactory< DIM >::LabelBasedContractionCellFactory ( ContractionModelName  contractionModelName)
inline

Constructor

Parameters
contractionModelNameThe name of the model to supply to the whole mesh.

Definition at line 65 of file LabelBasedContractionCellFactory.hpp.

Member Function Documentation

template<unsigned DIM>
AbstractContractionModel* LabelBasedContractionCellFactory< DIM >::CreateContractionCellForElement ( Element< DIM, DIM > *  pElement)
inlinevirtual

Main method that is called by the solver to assign a model to each quadrature point.

Parameters
pElementPointer to the element in the mechanics mesh
Returns
A contraction model for this element.

Implements AbstractContractionCellFactory< DIM >.

Definition at line 77 of file LabelBasedContractionCellFactory.hpp.

References LabelBasedContractionCellFactory< DIM >::mContractionModelName, and NEVER_REACHED.

Member Data Documentation

template<unsigned DIM>
ContractionModelName LabelBasedContractionCellFactory< DIM >::mContractionModelName
private

The name of the contraction model to supply

Definition at line 57 of file LabelBasedContractionCellFactory.hpp.

Referenced by LabelBasedContractionCellFactory< DIM >::CreateContractionCellForElement().


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