36 #ifndef STIMULUSPACINGPROTOCOL_HPP_ 37 #define STIMULUSPACINGPROTOCOL_HPP_ 39 #include <lifev/electrophysiology/stimulus/ElectroStimulus.hpp> 67 ASSERT (r > 0,
"Invalid radius value.");
73 ASSERT (I >= 0,
"Invalid current value.");
207 M_startingTimeStimulus = list.get (
"starting_time_stimulus", 0.0);
208 M_tShortS1S1 = list.get (
"tShortS1S1", 0.001);
209 M_stimulusInterval = list.get (
"stimulus_interval", 0.0 );
210 this->setStIntMin ( list.get (
"stIntMin", 0.001) );
211 this->setStIntS1S2 ( list.get (
"stIntS1S2", 0.0) );
212 this->setStIntS1S2Min ( list.get (
"stIntS1S2Min", 10.0) );
213 this->setStIntS2S3 ( list.get (
"stIntS2S3", 0.01) );
214 this->setStIntS3S4 ( list.get (
"stIntS3S4", 0.01) );
215 M_nbStimMax = list.get (
"nbStimMax", 1);
216 this->setRepeatSt ( list.get (
"repeatSt", 1) );
217 this->setTimeStep ( list.get (
"dt", 0.01) );
218 this->setPacingProtocol ( list.get (
"pacPro",
"FCL-ExtraSt") );
219 this->setPacingProtocolType ( list.get (
"pacProType",
"S1-S2") );
220 M_stimulusDuration = list.get (
"duration_stimulus", 1.0 );
221 M_pacingSite_X = list.get (
"pacing_site_X", 1.0 );
222 M_pacingSite_Y = list.get (
"pacing_site_Y", 1.0 );
223 M_pacingSite_Z = list.get (
"pacing_site_Z", 1.0 );
224 M_radius = list.get (
"applied_current_radius", 0.2 );
225 M_stimulusAmplitude = list.get (
"stimulus_amplitude", 1.0 );
const Real & stimulusDuration() const
Real standardS1S2Protocol(const Real &t)
void setStInt(const Real &StInt)
void setParameters(list_Type &list)
void setPacingSite(Real x, Real y, Real z)
void setStartingTimeStimulus(const Real &startingTimeStimulus)
Real fixedCycleLengthwExtraStim(const Real &t)
const Real & timeShortS1S1() const
void setNbStimMax(const int &nbStimMax)
void setStIntMin(const Real &stIntMin)
const int & repeatSt() const
const Real & timeStep() const
void setStimulusAmplitude(Real I)
void updateInverseJacobian(const UInt &iQuadPt)
virtual ~StimulusPacingProtocol()
Destructor.
void setStIntS1S2Min(const Real &stIntS1S2Min)
Real M_minimumStimulusInterval
void setPacingProtocol(std::string PacingProtocol)
Real fixedCycleLength(const Real &t)
Real pacingProtocolChoice(const Real &t)
Methods.
Real appliedCurrent(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
const Real & stIntMin() const
const int & nbStimMax() const
const Real & stIntS1S2Min() const
void setRepeatSt(const int &repeatSt)
void setStIntS2S3(const Real &stIntS2S3)
const Real & stIntS1S2() const
void setStIntS1S2(const Real &stIntS1S2)
double Real
Generic real data.
Real dynamicProtocol(const Real &t)
const Real & stIntS3S4() const
const Real & StInt() const
void setStIntS3S4(const Real &stIntS3S4)
std::string M_pacingProtocolType
const Real & startingTimeStimulus() const
void setStimulusDuration(const Real &stimDur)
const Real & stIntS2S3() const
void setTimeShortS1S1(const Real &tShortS1S1)
StimulusPacingProtocol()
Empty Constructor.
void setPacingProtocolType(const std::string &pacProTyp)
std::string M_pacingProtocol
void setTimeStep(const Real &dt)
Real M_startingTimeStimulus