#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 >::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 >::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(), AbstractCardiacCellFactory< DIM >::mpSolver, BathCellFactory< DIM >::mpStimulus, AbstractCardiacCellFactory< DIM >::mpZeroStimulus, BathCellFactory< DIM >::mStimulatedPoint, and HeartRegionCode::TISSUE.
boost::shared_ptr<SimpleStimulus> BathCellFactory< DIM >::mpStimulus [private] |
The stimulus to apply
Definition at line 51 of file SimpleBathProblemSetup.hpp.
Referenced by BathCellFactory< DIM >::CreateCardiacCellForTissueNode().
c_vector<double,DIM> BathCellFactory< DIM >::mStimulatedPoint [private] |
and where to apply it
Definition at line 53 of file SimpleBathProblemSetup.hpp.
Referenced by BathCellFactory< DIM >::CreateCardiacCellForTissueNode().