Chaste Release::3.1
|
#include <CardiacElectroMechProbRegularGeom.hpp>
Public Member Functions | |
CardiacElectroMechProbRegularGeom (CompressibilityType compressibilityType, double width, unsigned numMechanicsElementsEachDir, unsigned numElectricsElementsEachDir, AbstractCardiacCellFactory< DIM > *pCellFactory, ContractionModelName contractionModel, double mechanicsSolveTimestep, double contractionModelOdeTimeStep, std::string outputDirectory="") |
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.
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.
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 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.