49 Loki::NoDestroy > Type;
50 return Type::Instance();
69 const TiXmlElement* pXml)
73 m_nq = pField->GetTotPoints();
75 const TiXmlElement* vProtocol = pXml->FirstChildElement(
"PROTOCOL");
76 string vTypeP = vProtocol->Attribute(
"TYPE");
79 vTypeP, pSession, vProtocol);
87 void Stimulus::Initialise()
95 vector<StimulusSharedPtr> Stimulus::LoadStimuli(
99 vector<StimulusSharedPtr> vStimList;
101 TiXmlElement* vStimuli = pSession->GetElement(
"Nektar/Stimuli");
104 TiXmlElement* vStimulus = vStimuli->FirstChildElement(
"STIMULUS");
107 string vType = vStimulus->Attribute(
"TYPE");
110 vType, pSession, pField, vStimulus));
111 vStimulus = vStimulus->NextSiblingElement(
"STIMULUS");
tBaseSharedPtr CreateInstance(tKey idKey BOOST_PP_COMMA_IF(MAX_PARAM) BOOST_PP_ENUM_BINARY_PARAMS(MAX_PARAM, tParam, x))
Create an instance of the class referred to by idKey.
ProtocolFactory & GetProtocolFactory()
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
boost::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.
LibUtilities::NekFactory< std::string, Stimulus, const LibUtilities::SessionReaderSharedPtr &, const MultiRegions::ExpListSharedPtr &, const TiXmlElement * > StimulusFactory
Datatype of the NekFactory used to instantiate classes derived from the EquationSystem class...
StimulusFactory & GetStimulusFactory()
Provides a generic Factory class.