RampedQuarterStimulusCellFactory< CELL, DIM > Class Template Reference

#include <AbstractConvergenceTester.hpp>

Inherits AbstractCardiacCellFactory< DIM >.

Collaboration diagram for RampedQuarterStimulusCellFactory< CELL, DIM >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RampedQuarterStimulusCellFactory (double meshWidth, unsigned numElemAcross, double fullStim=-1e7)
AbstractCardiacCellCreateCardiacCellForTissueNode (unsigned node)

Private Attributes

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

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 70 of file AbstractConvergenceTester.hpp.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
meshWidth x-width of mesh
numElemAcross this allows us to deduce the mesh step size.
fullStim the maximum stimulus level

Definition at line 91 of file AbstractConvergenceTester.hpp.

References RampedQuarterStimulusCellFactory< CELL, DIM >::mLevels, and RampedQuarterStimulusCellFactory< CELL, DIM >::mpStimuli.


Member Function Documentation

template<class CELL , unsigned DIM>
AbstractCardiacCell* RampedQuarterStimulusCellFactory< CELL, DIM >::CreateCardiacCellForTissueNode ( unsigned  node  )  [inline, virtual]

Member Data Documentation

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 82 of file AbstractConvergenceTester.hpp.

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

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

Width (x-width) of mesh

Definition at line 76 of file AbstractConvergenceTester.hpp.

template<class CELL , unsigned DIM>
std::vector< boost::shared_ptr<SimpleStimulus> > RampedQuarterStimulusCellFactory< CELL, DIM >::mpStimuli [private]
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 78 of file AbstractConvergenceTester.hpp.

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


The documentation for this class was generated from the following file:
Generated on Thu Dec 22 13:07:30 2011 for Chaste by  doxygen 1.6.3