CardiacElectroMechProbRegularGeom< DIM > Class Template Reference

#include <CardiacElectroMechProbRegularGeom.hpp>

Inherits CardiacElectroMechanicsProblem< DIM >.

Collaboration diagram for CardiacElectroMechProbRegularGeom< DIM >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CardiacElectroMechProbRegularGeom (CompressibilityType compressibilityType, double width, unsigned numMechanicsElementsEachDir, unsigned numElectricsElementsEachDir, AbstractCardiacCellFactory< DIM > *pCellFactory, ContractionModelName contractionModel, double mechanicsSolveTimestep, double contractionModelOdeTimeStep, std::string outputDirectory="")

Detailed Description

template<unsigned DIM>
class CardiacElectroMechProbRegularGeom< DIM >

Child class of CardiacElectroMechanicsProblem for setting up cardiac electromechanics problems on a square (currently just 2d). The user just has to specify the number of elements in each direction.

This class can only be used to set up highly-restricted problems (square geometry, fibres in X-direction, X=0 side fixed in space, no tractions, pressures or MEF) - use the more general class CardiacElectroMechanicsProblem if you want to do anything more complex.

Note: the X=0 surface is fixed in the deformation.

Definition at line 46 of file CardiacElectroMechProbRegularGeom.hpp.


Constructor & Destructor Documentation

template<unsigned DIM>
CardiacElectroMechProbRegularGeom< DIM >::CardiacElectroMechProbRegularGeom ( CompressibilityType  compressibilityType,
double  width,
unsigned  numMechanicsElementsEachDir,
unsigned  numElectricsElementsEachDir,
AbstractCardiacCellFactory< DIM > *  pCellFactory,
ContractionModelName  contractionModel,
double  mechanicsSolveTimestep,
double  contractionModelOdeTimeStep,
std::string  outputDirectory = "" 
) [inline]

Constructor.

Parameters:
compressibilityType Should be either INCOMPRESSIBLE or COMPRESSIBLE
width Width and height of the square
numMechanicsElementsEachDir Number of elements in each direction in the mechanics mesh
numElectricsElementsEachDir Number of elements in each direction in the electrics mesh
pCellFactory factory to use to create cells
contractionModel contraction model (see the enum "ContractionModel" for the options).
mechanicsSolveTimestep how often the mechanics is solved for (should be a multiple of electrics PDE timestep)
contractionModelOdeTimeStep Step size for contraction model (of active tension in cardiac cells) being used.
outputDirectory the output directory

Definition at line 63 of file CardiacElectroMechProbRegularGeom.hpp.

References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructRegularSlabMesh(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), CardiacElectroMechanicsProblem< DIM >::mpElectricsMesh, CardiacElectroMechanicsProblem< DIM >::mpMechanicsMesh, and CardiacElectroMechanicsProblem< DIM >::mpProblemDefinition.


The documentation for this class was generated from the following file:
Generated on Thu Dec 22 13:03:18 2011 for Chaste by  doxygen 1.6.3