#include <CardiacElectroMechProbRegularGeom.hpp>
Inherits CardiacElectroMechanicsProblem< DIM >.
Public Member Functions | |
CardiacElectroMechProbRegularGeom (ContractionModel contractionModel, double width, unsigned numMechanicsElementsEachDir, unsigned numElectricsElementsEachDir, AbstractCardiacCellFactory< DIM > *pCellFactory, double endTime, double electricsPdeTimeStep, unsigned numElecTimeStepsPerMechTimestep, 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. Note: the x=0 surface is fixed in the deformation.
Definition at line 40 of file CardiacElectroMechProbRegularGeom.hpp.
CardiacElectroMechProbRegularGeom< DIM >::CardiacElectroMechProbRegularGeom | ( | ContractionModel | contractionModel, | |
double | width, | |||
unsigned | numMechanicsElementsEachDir, | |||
unsigned | numElectricsElementsEachDir, | |||
AbstractCardiacCellFactory< DIM > * | pCellFactory, | |||
double | endTime, | |||
double | electricsPdeTimeStep, | |||
unsigned | numElecTimeStepsPerMechTimestep, | |||
double | contractionModelOdeTimeStep, | |||
std::string | outputDirectory = "" | |||
) | [inline] |
Constructor.
contractionModel | contraction model (see the enum "ContractionModel" for the options). | |
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 | |
endTime | the end time to use | |
electricsPdeTimeStep | timestep used in solving for the electrical activity | |
numElecTimeStepsPerMechTimestep | number of electrics timesteps to be used in each mechanics solve | |
contractionModelOdeTimeStep | Step size for contraction model (of active tension in cardiac cells) being used. | |
outputDirectory | the output directory |
Definition at line 58 of file CardiacElectroMechProbRegularGeom.hpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructRectangularMesh(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), CardiacElectroMechanicsProblem< DIM >::mFixedNodes, CardiacElectroMechanicsProblem< DIM >::mpElectricsMesh, CardiacElectroMechanicsProblem< DIM >::mpMechanicsMesh, and AbstractMesh< ELEMENT_DIM, SPACE_DIM >::Scale().