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