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