#include <AbstractConvergenceTester.hpp>
Inherits AbstractCardiacCellFactory< DIM >.
Public Member Functions | |
RampedQuarterStimulusCellFactory (double meshWidth, unsigned numElemAcross, double fullStim=-1e7) | |
AbstractCardiacCellInterface * | CreateCardiacCellForTissueNode (Node< DIM > *pNode) |
Private Attributes | |
std::vector< boost::shared_ptr < SimpleStimulus > > | mpStimuli |
double | mMeshWidth |
double | mStepSize |
unsigned | mLevels |
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.
RampedQuarterStimulusCellFactory< CELL, DIM >::RampedQuarterStimulusCellFactory | ( | double | meshWidth, | |
unsigned | numElemAcross, | |||
double | fullStim = -1e7 | |||
) | [inline] |
Constructor.
meshWidth | x-width of mesh | |
numElemAcross | this allows us to deduce the mesh step size. | |
fullStim | the maximum stimulus level |
Definition at line 100 of file AbstractConvergenceTester.hpp.
References RampedQuarterStimulusCellFactory< CELL, DIM >::mLevels, and RampedQuarterStimulusCellFactory< CELL, DIM >::mpStimuli.
AbstractCardiacCellInterface* RampedQuarterStimulusCellFactory< CELL, DIM >::CreateCardiacCellForTissueNode | ( | Node< DIM > * | pNode | ) | [inline] |
pNode | Pointer to node object |
Definition at line 122 of file AbstractConvergenceTester.hpp.
References Node< SPACE_DIM >::GetPoint(), RampedQuarterStimulusCellFactory< CELL, DIM >::mLevels, AbstractCardiacCellFactory< DIM >::mpSolver, RampedQuarterStimulusCellFactory< CELL, DIM >::mpStimuli, AbstractCardiacCellFactory< DIM >::mpZeroStimulus, and RampedQuarterStimulusCellFactory< CELL, DIM >::mStepSize.
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 >::CreateCardiacCellForTissueNode(), and RampedQuarterStimulusCellFactory< CELL, DIM >::RampedQuarterStimulusCellFactory().
double RampedQuarterStimulusCellFactory< CELL, DIM >::mMeshWidth [private] |
Width (x-width) of mesh
Definition at line 85 of file AbstractConvergenceTester.hpp.
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.
Referenced by RampedQuarterStimulusCellFactory< CELL, DIM >::CreateCardiacCellForTissueNode(), and RampedQuarterStimulusCellFactory< CELL, DIM >::RampedQuarterStimulusCellFactory().
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.
Referenced by RampedQuarterStimulusCellFactory< CELL, DIM >::CreateCardiacCellForTissueNode().