44 "S1S2 stimulus protocol.");
67 const TiXmlElement *pXmlparameter;
72 pXmlparameter = pXml->FirstChildElement(
"START");
73 m_start = atof(pXmlparameter->GetText());
75 pXmlparameter = pXml->FirstChildElement(
"DURATION");
76 m_dur = atof(pXmlparameter->GetText());
78 pXmlparameter = pXml->FirstChildElement(
"S1CYCLELENGTH");
81 pXmlparameter = pXml->FirstChildElement(
"NUM_S1");
82 m_num_s1 = atof(pXmlparameter->GetText());
84 pXmlparameter = pXml->FirstChildElement(
"S2CYCLELENGTH");
virtual NekDouble v_GetAmplitude(const NekDouble time)
NekDouble m_s2cyclelength
std::vector< std::pair< std::string, std::string > > SummaryList
NekDouble m_s1cyclelength
ProtocolFactory & GetProtocolFactory()
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
LibUtilities::SessionReaderSharedPtr m_session
Session.
static ProtocolSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml)
Creates an instance of this class.
static std::string className
Name of class.
virtual void v_GenerateSummary(SolverUtils::SummaryList &s)
ProtocolS1S2(const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml)
void Initialise()
Initialise the protocol storage and set initial conditions.
virtual void v_SetInitialConditions()
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.