Nektar++
|
#include <ProtocolS1.h>
Public Member Functions | |
ProtocolS1 (const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml) | |
virtual | ~ProtocolS1 () |
void | Initialise () |
Initialise the protocol storage and set initial conditions. | |
Public Member Functions inherited from Nektar::Protocol | |
Protocol (const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml) | |
virtual | ~Protocol () |
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. |
Static Public Member Functions | |
static ProtocolSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml) |
Creates an instance of this class. |
Static Public Attributes | |
static std::string | className |
Name of class. |
Protected Member Functions | |
virtual NekDouble | v_GetAmplitude (const NekDouble time) |
virtual void | v_GenerateSummary (SolverUtils::SummaryList &s) |
virtual void | v_SetInitialConditions () |
Protected Attributes | |
NekDouble | m_start |
NekDouble | m_dur |
NekDouble | m_num_s1 |
NekDouble | m_s1cyclelength |
NekDouble | time1 |
Protected Attributes inherited from Nektar::Protocol | |
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 47 of file ProtocolS1.h.
Nektar::ProtocolS1::ProtocolS1 | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const TiXmlElement * | pXml | ||
) |
Protocol base class constructor.
Definition at line 60 of file ProtocolS1.cpp.
References m_dur, m_num_s1, m_s1cyclelength, Nektar::Protocol::m_session, and m_start.
|
inlinevirtual |
Definition at line 65 of file ProtocolS1.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file ProtocolS1.h.
void Nektar::ProtocolS1::Initialise | ( | ) |
Initialise the protocol storage and set initial conditions.
Initialise the protocol. Allocate workspace and variable storage.
Reimplemented from Nektar::Protocol.
Definition at line 93 of file ProtocolS1.cpp.
|
protectedvirtual |
Implements Nektar::Protocol.
Definition at line 102 of file ProtocolS1.cpp.
References m_dur, m_num_s1, m_s1cyclelength, m_start, and time1.
|
protectedvirtual |
Definition at line 130 of file ProtocolS1.cpp.
|
static |
Name of class.
Definition at line 60 of file ProtocolS1.h.
|
protected |
Definition at line 72 of file ProtocolS1.h.
Referenced by ProtocolS1(), and v_GetAmplitude().
|
protected |
Definition at line 73 of file ProtocolS1.h.
Referenced by ProtocolS1(), and v_GetAmplitude().
|
protected |
Definition at line 74 of file ProtocolS1.h.
Referenced by ProtocolS1(), and v_GetAmplitude().
|
protected |
Definition at line 71 of file ProtocolS1.h.
Referenced by ProtocolS1(), and v_GetAmplitude().
|
protected |
Definition at line 75 of file ProtocolS1.h.
Referenced by v_GetAmplitude().