Chaste  Release::2018.1
LuoRudySpiralWaveCellFactory Class Reference

#include <LuoRudySpiralWaveCellFactory.hpp>

+ Inheritance diagram for LuoRudySpiralWaveCellFactory:
+ Collaboration diagram for LuoRudySpiralWaveCellFactory:

Public Member Functions

 LuoRudySpiralWaveCellFactory (double xExtent, double yExtent)
 
AbstractCardiacCellCreateCardiacCellForTissueNode (Node< 2 > *pNode)
 
- Public Member Functions inherited from AbstractCardiacCellFactory< 2 >
virtual
AbstractCardiacCellInterface
CreateCardiacCellForNode (Node< ELEMENT_DIM > *pNode)
 
virtual
AbstractCardiacCellInterface
CreateCardiacCellForTissueNode (Node< ELEMENT_DIM > *pNode)=0
 
virtual void FinaliseCellCreation (std::vector< AbstractCardiacCellInterface * > *pCellsDistributed, unsigned lo, unsigned hi)
 
virtual void FillInCellularTransmuralAreas ()
 
virtual unsigned GetNumberOfCells ()
 
 AbstractCardiacCellFactory (boost::shared_ptr< AbstractIvpOdeSolver > pSolver=boost::shared_ptr< AbstractIvpOdeSolver >(new EulerIvpOdeSolver))
 
virtual ~AbstractCardiacCellFactory ()
 
virtual void SetMesh (AbstractTetrahedralMesh< ELEMENT_DIM, ELEMENT_DIM > *pMesh)
 
AbstractTetrahedralMesh
< ELEMENT_DIM, ELEMENT_DIM > * 
GetMesh ()
 
void SetHeartGeometryInformation (HeartGeometryInformation< ELEMENT_DIM > *pHeartGeometryInformation)
 
HeartGeometryInformation
< ELEMENT_DIM > * 
GetHeartGeometryInformation ()
 

Private Attributes

boost::shared_ptr< SimpleStimulusmpS1Stimulus
 
boost::shared_ptr< SimpleStimulusmpS2Stimulus
 
boost::shared_ptr< MultiStimulusmpBothStimulus
 
double mXExtent
 
double mYExtent
 

Additional Inherited Members

- Protected Attributes inherited from AbstractCardiacCellFactory< 2 >
boost::shared_ptr< ZeroStimulusmpZeroStimulus
 
boost::shared_ptr
< AbstractIvpOdeSolver
mpSolver
 

Detailed Description

This class sets up Luo Rudy 1991 backward Euler cells with a change to parameters (G_si = 0) and S1-S2 stimulus pattern that together provoke spiral wave initiation.

Definition at line 49 of file LuoRudySpiralWaveCellFactory.hpp.

Constructor & Destructor Documentation

LuoRudySpiralWaveCellFactory::LuoRudySpiralWaveCellFactory ( double  xExtent,
double  yExtent 
)
inline

Constructor for spiral wave cell factory.

Parameters
xExtentThe size of the domain (width)
yExtentThe size of the domain (height)

Definition at line 69 of file LuoRudySpiralWaveCellFactory.hpp.

References mpBothStimulus, mpS1Stimulus, and mpS2Stimulus.

Member Function Documentation

AbstractCardiacCell* LuoRudySpiralWaveCellFactory::CreateCardiacCellForTissueNode ( Node< 2 > *  pNode)
inline

This method is provided by all factories, and returns an action potential model with the correct stimulus for that location. Here we set up some cells with S1 and S2, some with S1 and some with S2, to initiate a spiral wave. We also alter one of the conductances in the model to make the wave easier to initiate on this small domain.

Parameters
pNodethe pointer to Node object we would like an action potential model for
Returns
a cardiac cell for this node

Definition at line 90 of file LuoRudySpiralWaveCellFactory.hpp.

References AbstractCardiacCell::GetAnyVariable(), Node< SPACE_DIM >::GetIndex(), mpBothStimulus, mpS1Stimulus, mpS2Stimulus, AbstractCardiacCellFactory< 2 >::mpSolver, AbstractCardiacCellFactory< 2 >::mpZeroStimulus, mXExtent, mYExtent, Node< SPACE_DIM >::rGetLocation(), and AbstractCardiacCell::SetParameter().

Member Data Documentation

boost::shared_ptr<MultiStimulus> LuoRudySpiralWaveCellFactory::mpBothStimulus
private

Both of the S1 and S2 stimuli.

Definition at line 57 of file LuoRudySpiralWaveCellFactory.hpp.

Referenced by CreateCardiacCellForTissueNode(), and LuoRudySpiralWaveCellFactory().

boost::shared_ptr<SimpleStimulus> LuoRudySpiralWaveCellFactory::mpS1Stimulus
private

The stimulus to be applied at the S1 site (simple one-off stimulus).

Definition at line 53 of file LuoRudySpiralWaveCellFactory.hpp.

Referenced by CreateCardiacCellForTissueNode(), and LuoRudySpiralWaveCellFactory().

boost::shared_ptr<SimpleStimulus> LuoRudySpiralWaveCellFactory::mpS2Stimulus
private

The stimulus to be applied at the S2 site (simple one-off stimulus).

Definition at line 55 of file LuoRudySpiralWaveCellFactory.hpp.

Referenced by CreateCardiacCellForTissueNode(), and LuoRudySpiralWaveCellFactory().

double LuoRudySpiralWaveCellFactory::mXExtent
private

Width of the domain.

Definition at line 59 of file LuoRudySpiralWaveCellFactory.hpp.

Referenced by CreateCardiacCellForTissueNode().

double LuoRudySpiralWaveCellFactory::mYExtent
private

Height of the domain.

Definition at line 61 of file LuoRudySpiralWaveCellFactory.hpp.

Referenced by CreateCardiacCellForTissueNode().


The documentation for this class was generated from the following file: