37 #ifndef PLANESTIMULUSCELLFACTORY_HPP_ 38 #define PLANESTIMULUSCELLFACTORY_HPP_ 40 #include <boost/shared_ptr.hpp> 42 #include "AbstractCardiacCellFactory.hpp" 43 #include "LogFile.hpp" 44 #include "SimpleStimulus.hpp" 49 template<
class CELL,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM = ELEMENT_DIM>
65 mpStimulus.reset(
new SimpleStimulus(stimulusMagnitude, stimulusDuration));
66 LOG(1,
"Defined a PlaneStimulusCellFactory<"<<SPACE_DIM<<
"> with SimpleStimulus("<<stimulusMagnitude<<
","<< stimulusDuration<<
")\n");
80 return new CELL(this->
mpSolver, mpStimulus);
boost::shared_ptr< SimpleStimulus > mpStimulus
boost::shared_ptr< ZeroStimulus > mpZeroStimulus
boost::shared_ptr< AbstractIvpOdeSolver > mpSolver
PlaneStimulusCellFactory(double stimulusMagnitude=-600, double stimulusDuration=0.5)
AbstractCardiacCellInterface * CreateCardiacCellForTissueNode(Node< SPACE_DIM > *pNode)
ChastePoint< SPACE_DIM > GetPoint() const