#include <SimpleBathProblemSetup.hpp>
Inherits AbstractCardiacCellFactory< DIM >.
Public Member Functions | |
BathCellFactory (double stimulusMagnitude, c_vector< double, DIM > stimulatedPoint) | |
AbstractCardiacCell * | CreateCardiacCellForTissueNode (unsigned node) |
Private Attributes | |
boost::shared_ptr< SimpleStimulus > | mpStimulus |
c_vector< double, DIM > | mStimulatedPoint |
A simple cell factory for bath problems, applying a SimpleStimulus for 0.5ms at a single point.
Definition at line 47 of file SimpleBathProblemSetup.hpp.
BathCellFactory< DIM, CELLTYPE >::BathCellFactory | ( | double | stimulusMagnitude, | |
c_vector< double, DIM > | stimulatedPoint | |||
) | [inline] |
Create the cell factory.
stimulusMagnitude | ||
stimulatedPoint | spatial co-ordinates of where to stimulate. Must correspond to a node location. |
Definition at line 62 of file SimpleBathProblemSetup.hpp.
AbstractCardiacCell* BathCellFactory< DIM, CELLTYPE >::CreateCardiacCellForTissueNode | ( | unsigned | node | ) | [inline, virtual] |
Create a new cell.
node | where to put the cell |
Implements AbstractCardiacCellFactory< DIM >.
Definition at line 73 of file SimpleBathProblemSetup.hpp.
References AbstractCardiacCellFactory< DIM >::GetMesh(), HeartRegionCode::IsRegionTissue(), AbstractCardiacCellFactory< DIM >::mpSolver, BathCellFactory< DIM, CELLTYPE >::mpStimulus, AbstractCardiacCellFactory< DIM >::mpZeroStimulus, and BathCellFactory< DIM, CELLTYPE >::mStimulatedPoint.
boost::shared_ptr<SimpleStimulus> BathCellFactory< DIM, CELLTYPE >::mpStimulus [private] |
The stimulus to apply
Definition at line 51 of file SimpleBathProblemSetup.hpp.
Referenced by BathCellFactory< DIM, CELLTYPE >::CreateCardiacCellForTissueNode().
c_vector<double,DIM> BathCellFactory< DIM, CELLTYPE >::mStimulatedPoint [private] |
and where to apply it
Definition at line 53 of file SimpleBathProblemSetup.hpp.
Referenced by BathCellFactory< DIM, CELLTYPE >::CreateCardiacCellForTissueNode().