36 #ifndef GENERALPLANESTIMULUSCELLFACTORY_HPP_
37 #define GENERALPLANESTIMULUSCELLFACTORY_HPP_
39 #include "PlaneStimulusCellFactory.hpp"
48 template <
class CELL,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM = ELEMENT_DIM>
68 GeneralPlaneStimulusCellFactory(
unsigned numEleAcross,
double meshWidth,
bool useMeshWidthAsMag=
false,
double stimulusMagnitude=-1e7,
double stimulusDuration=0.5)
71 if (useMeshWidthAsMag)
73 #define COVERAGE_IGNORE
75 #undef COVERAGE_IGNORE
79 stimulusMagnitude*=numEleAcross/(64.0);
83 stimulusMagnitude*=meshWidth/(0.2);
87 LOG(1,
"Defined a GeneralPlaneStimulusCellFactory<"<<SPACE_DIM<<
"> with SimpleStimulus("<<stimulusMagnitude<<
","<< stimulusDuration<<
")\n");
boost::shared_ptr< SimpleStimulus > mpStimulus
GeneralPlaneStimulusCellFactory(unsigned numEleAcross, double meshWidth, bool useMeshWidthAsMag=false, double stimulusMagnitude=-1e7, double stimulusDuration=0.5)