Nektar++
|
#include <Protocol.h>
Public Member Functions | |
virtual | ~Protocol () |
void | Initialise () |
Initialise the protocol storage and set initial conditions. More... | |
NekDouble | GetAmplitude (const NekDouble time) |
Returns amplitude of stimulus (1 or 0) at given time. More... | |
void | GenerateSummary (SolverUtils::SummaryList &s) |
Print a summary of the cell model. More... | |
Protected Member Functions | |
Protocol (const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml) | |
virtual NekDouble | v_GetAmplitude (const NekDouble time)=0 |
virtual void | v_GenerateSummary (SolverUtils::SummaryList &s)=0 |
Protected Attributes | |
LibUtilities::SessionReaderSharedPtr | m_session |
Session. More... | |
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 61 of file Protocol.h.
|
inlinevirtual |
Definition at line 64 of file Protocol.h.
|
protected |
Protocol base class constructor.
Definition at line 58 of file Protocol.cpp.
|
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.
Definition at line 67 of file Protocol.cpp.
|
protectedpure virtual |
Implemented in Nektar::ProtocolS1, Nektar::ProtocolS1S2, and Nektar::ProtocolSingle.
Referenced by GenerateSummary().
Implemented in Nektar::ProtocolS1, Nektar::ProtocolS1S2, and Nektar::ProtocolSingle.
Referenced by GetAmplitude().
|
protected |
Session.
Definition at line 85 of file Protocol.h.
Referenced by Nektar::ProtocolS1::ProtocolS1(), Nektar::ProtocolS1S2::ProtocolS1S2(), and Nektar::ProtocolSingle::ProtocolSingle().