#include "AbstractCardiacCellFactory.hpp"
#include "SimpleStimulus.hpp"
#include "LuoRudyIModel1991OdeSystem.hpp"
#include "HeartRegionCodes.hpp"
Go to the source code of this file.
Classes | |
class | BathCellFactory< DIM > |
Functions | |
template<class MeshType > | |
void | SetCircularTissueIn2dMesh (MeshType *pMesh, double centreX, double centreY, double radius) |
template<class MeshType > | |
MeshType * | Load2dMeshAndSetCircularTissue (const std::string &rMeshPath, double centreX, double centreY, double radius) |
template<> | |
DistributedTetrahedralMesh< 2, 2 > * | Load2dMeshAndSetCircularTissue (const std::string &rMeshPath, double centreX, double centreY, double radius) |
Some helper classes and functions for setting up a simple bath problem for testing.
Definition in file SimpleBathProblemSetup.hpp.
DistributedTetrahedralMesh<2,2>* Load2dMeshAndSetCircularTissue | ( | const std::string & | rMeshPath, | |
double | centreX, | |||
double | centreY, | |||
double | radius | |||
) | [inline] |
Specialization for a parallel mesh.
rMeshPath | relative path to the mesh | |
centreX | X co-ord of tissue centre | |
centreY | Y co-ord of tissue centre | |
radius | radius of tissue |
Definition at line 164 of file SimpleBathProblemSetup.hpp.
References DistributedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), and SetCircularTissueIn2dMesh().
MeshType* Load2dMeshAndSetCircularTissue | ( | const std::string & | rMeshPath, | |
double | centreX, | |||
double | centreY, | |||
double | radius | |||
) | [inline] |
Load a 2d mesh, and set everything outside a central circle to be bath.
rMeshPath | relative path to the mesh | |
centreX | X co-ord of tissue centre | |
centreY | Y co-ord of tissue centre | |
radius | radius of tissue |
Definition at line 143 of file SimpleBathProblemSetup.hpp.
References SetCircularTissueIn2dMesh().
void SetCircularTissueIn2dMesh | ( | MeshType * | pMesh, | |
double | centreX, | |||
double | centreY, | |||
double | radius | |||
) | [inline] |
Set everything outside a central circle in the given 2d mesh to be bath.
pMesh | the mesh | |
centreX | X co-ord of tissue centre | |
centreY | Y co-ord of tissue centre | |
radius | radius of tissue |
Definition at line 117 of file SimpleBathProblemSetup.hpp.
References HeartRegionCode::BATH.
Referenced by Load2dMeshAndSetCircularTissue().