Nektar++
|
#include <Protocol.h>
Public Member Functions | |
Protocol (const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml) | |
virtual | ~Protocol () |
void | Initialise () |
Initialise the protocol storage and set initial conditions. | |
NekDouble | GetAmplitude (const NekDouble time) |
Returns amplitude of stimulus (1 or 0) at given time. | |
void | GenerateSummary (SolverUtils::SummaryList &s) |
Print a summary of the cell model. |
Protected Member Functions | |
virtual NekDouble | v_GetAmplitude (const NekDouble time)=0 |
virtual void | v_GenerateSummary (SolverUtils::SummaryList &s)=0 |
Protected Attributes | |
LibUtilities::SessionReaderSharedPtr | m_session |
Session. |
Protocol base class.
The Stimuli class and derived classes implement a range of stimuli. The stimulus contains input stimuli that can be applied throughout the domain, on specified regions determined by the derived classes of Stimulus, at specified frequencies determined by the derived classes of Protocol.
Definition at line 60 of file Protocol.h.
Nektar::Protocol::Protocol | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const TiXmlElement * | pXml | ||
) |
|
inlinevirtual |
Definition at line 66 of file Protocol.h.
|
inline |
Print a summary of the cell model.
Definition at line 78 of file Protocol.h.
References v_GenerateSummary().
Returns amplitude of stimulus (1 or 0) at given time.
Definition at line 72 of file Protocol.h.
References v_GetAmplitude().
void Nektar::Protocol::Initialise | ( | ) |
Initialise the protocol storage and set initial conditions.
Initialise the protocol. Allocate workspace and variable storage.
Reimplemented in Nektar::ProtocolS1, Nektar::ProtocolSingle, and Nektar::ProtocolS1S2.
Definition at line 71 of file Protocol.cpp.
|
protectedpure virtual |
Implemented in Nektar::ProtocolS1S2, Nektar::ProtocolS1, and Nektar::ProtocolSingle.
Referenced by GenerateSummary().
Implemented in Nektar::ProtocolS1S2, Nektar::ProtocolS1, and Nektar::ProtocolSingle.
Referenced by GetAmplitude().
|
protected |
Session.
Definition at line 85 of file Protocol.h.
Referenced by Protocol(), Nektar::ProtocolS1::ProtocolS1(), Nektar::ProtocolS1S2::ProtocolS1S2(), and Nektar::ProtocolSingle::ProtocolSingle().