Chaste Release::3.1
CardiacElectroMechProbRegularGeom< DIM > Class Template Reference

#include <CardiacElectroMechProbRegularGeom.hpp>

Inheritance diagram for CardiacElectroMechProbRegularGeom< DIM >:
Collaboration diagram for CardiacElectroMechProbRegularGeom< DIM >:

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 53 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:
compressibilityTypeShould be either INCOMPRESSIBLE or COMPRESSIBLE
widthWidth and height of the square
numMechanicsElementsEachDirNumber of elements in each direction in the mechanics mesh
numElectricsElementsEachDirNumber of elements in each direction in the electrics mesh
pCellFactoryfactory to use to create cells
contractionModelcontraction model (see the enum "ContractionModel" for the options).
mechanicsSolveTimestephow often the mechanics is solved for (should be a multiple of electrics PDE timestep)
contractionModelOdeTimeStepStep size for contraction model (of active tension in cardiac cells) being used.
outputDirectorythe output directory

Definition at line 70 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: