Protocol base class.
More...
#include <ProtocolSingle.h>
Protocol base class.
Definition at line 46 of file ProtocolSingle.h.
◆ ~ProtocolSingle()
virtual Nektar::ProtocolSingle::~ProtocolSingle |
( |
| ) |
|
|
inlinevirtual |
◆ ProtocolSingle()
Protocol base class constructor.
Definition at line 60 of file ProtocolSingle.cpp.
References m_dur, Nektar::Protocol::m_session, and m_start.
72 const TiXmlElement *pXmlparameter;
74 pXmlparameter = pXml->FirstChildElement(
"START");
75 m_start = atof(pXmlparameter->GetText());
77 pXmlparameter = pXml->FirstChildElement(
"DURATION");
78 m_dur = atof(pXmlparameter->GetText());
Protocol(const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml)
LibUtilities::SessionReaderSharedPtr m_session
Session.
◆ 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 85 of file ProtocolSingle.cpp.
Referenced by ~ProtocolSingle().
◆ v_GenerateSummary()
◆ v_GetAmplitude()
◆ v_SetInitialConditions()
void Nektar::ProtocolSingle::v_SetInitialConditions |
( |
| ) |
|
|
protectedvirtual |
◆ MemoryManager< ProtocolSingle >
◆ className
std::string Nektar::ProtocolSingle::className |
|
static |
Initial value: "ProtocolSingle",
"Single stimulus protocol.")
Name of class.
Definition at line 59 of file ProtocolSingle.h.
◆ m_dur
◆ m_start