Chaste  Release::2024.1
RampedQuarterStimulusCellFactory< CELL, DIM > Class Template Reference

#include <AbstractConvergenceTester.hpp>

+ Inheritance diagram for RampedQuarterStimulusCellFactory< CELL, DIM >:
+ Collaboration diagram for RampedQuarterStimulusCellFactory< CELL, DIM >:

Public Member Functions

 RampedQuarterStimulusCellFactory (double meshWidth, unsigned numElemAcross, double fullStim=-1e7)
 
AbstractCardiacCellInterfaceCreateCardiacCellForTissueNode (Node< DIM > *pNode)
 
- Public Member Functions inherited from AbstractCardiacCellFactory< DIM >
virtual AbstractCardiacCellInterfaceCreateCardiacCellForNode (Node< ELEMENT_DIM > *pNode)
 
virtual AbstractCardiacCellInterfaceCreateCardiacCellForTissueNode (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

std::vector< boost::shared_ptr< SimpleStimulus > > mpStimuli
 
double mMeshWidth
 
double mStepSize
 
unsigned mLevels
 

Additional Inherited Members

- Protected Attributes inherited from AbstractCardiacCellFactory< DIM >
boost::shared_ptr< ZeroStimulusmpZeroStimulus
 
boost::shared_ptr< AbstractIvpOdeSolvermpSolver
 

Detailed Description

template<class CELL, unsigned DIM>
class RampedQuarterStimulusCellFactory< CELL, DIM >

RampedQuarterStimulusCellFactory stimulates a quarter of a mesh of width mMeshWidth ie all the cells in 0 < x <= mMeshWidth/4

Definition at line 79 of file AbstractConvergenceTester.hpp.

Constructor & Destructor Documentation

◆ RampedQuarterStimulusCellFactory()

template<class CELL , unsigned DIM>
RampedQuarterStimulusCellFactory< CELL, DIM >::RampedQuarterStimulusCellFactory ( double  meshWidth,
unsigned  numElemAcross,
double  fullStim = -1e7 
)
inline

Constructor.

Parameters
meshWidthx-width of mesh
numElemAcrossthis allows us to deduce the mesh step size.
fullStimthe maximum stimulus level

Definition at line 100 of file AbstractConvergenceTester.hpp.

References RampedQuarterStimulusCellFactory< CELL, DIM >::mLevels.

Member Function Documentation

◆ CreateCardiacCellForTissueNode()

template<class CELL , unsigned DIM>
AbstractCardiacCellInterface* RampedQuarterStimulusCellFactory< CELL, DIM >::CreateCardiacCellForTissueNode ( Node< DIM > *  pNode)
inline
Returns
a newly createdcell model
Parameters
pNodePointer to node object

Definition at line 122 of file AbstractConvergenceTester.hpp.

Member Data Documentation

◆ mLevels

template<class CELL , unsigned DIM>
unsigned RampedQuarterStimulusCellFactory< CELL, DIM >::mLevels
private

The number of stimulated levels covering 0 <= x < mMeshWidth/4. Note that the nodes on the quarter level are not included and are unstimulated

Definition at line 91 of file AbstractConvergenceTester.hpp.

Referenced by RampedQuarterStimulusCellFactory< CELL, DIM >::RampedQuarterStimulusCellFactory().

◆ mMeshWidth

template<class CELL , unsigned DIM>
double RampedQuarterStimulusCellFactory< CELL, DIM >::mMeshWidth
private

◆ mpStimuli

template<class CELL , unsigned DIM>
std::vector< boost::shared_ptr<SimpleStimulus> > RampedQuarterStimulusCellFactory< CELL, DIM >::mpStimuli
private

define a new vector of stimuli - one for each step in x-direction

Definition at line 83 of file AbstractConvergenceTester.hpp.

◆ mStepSize

template<class CELL , unsigned DIM>
double RampedQuarterStimulusCellFactory< CELL, DIM >::mStepSize
private

Step size of mesh is derived from the width and the number of elements across

Definition at line 87 of file AbstractConvergenceTester.hpp.


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