Protocol base class.
More...
#include <ProtocolSingle.h>
Protocol base class.
Definition at line 46 of file ProtocolSingle.h.
◆ ~ProtocolSingle()
Nektar::ProtocolSingle::~ProtocolSingle |
( |
| ) |
|
|
inlineoverride |
◆ ProtocolSingle()
Protocol base class constructor.
Definition at line 58 of file ProtocolSingle.cpp.
62{
64
65 if (!pXml)
66 {
67 return;
68 }
69
70 const TiXmlElement *pXmlparameter;
71
72 pXmlparameter = pXml->FirstChildElement("START");
73 m_start = atof(pXmlparameter->GetText());
74
75 pXmlparameter = pXml->FirstChildElement("DURATION");
76 m_dur = atof(pXmlparameter->GetText());
77}
LibUtilities::SessionReaderSharedPtr m_session
Session.
Protocol(const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml)
References m_dur, Nektar::Protocol::m_session, and m_start.
◆ create()
◆ Initialise()
void Nektar::ProtocolSingle::Initialise |
( |
| ) |
|
Initialise the protocol storage and set initial conditions.
Initialise the protocol. Allocate workspace and variable storage.
Definition at line 82 of file ProtocolSingle.cpp.
◆ v_GenerateSummary()
◆ v_GetAmplitude()
◆ v_SetInitialConditions()
void Nektar::ProtocolSingle::v_SetInitialConditions |
( |
| ) |
|
|
protectedvirtual |
◆ MemoryManager< ProtocolSingle >
◆ className
std::string Nektar::ProtocolSingle::className |
|
static |
Initial value:=
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
static ProtocolSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml)
Creates an instance of this class.
ProtocolFactory & GetProtocolFactory()
Name of class.
Definition at line 58 of file ProtocolSingle.h.
◆ m_dur
◆ m_start