Nektar++
|
#include <ProtocolS1S2.h>
Public Member Functions | |
~ProtocolS1S2 () override | |
void | Initialise () |
Initialise the protocol storage and set initial conditions. More... | |
Public Member Functions inherited from Nektar::Protocol | |
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... | |
Static Public Member Functions | |
static ProtocolSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of class. More... | |
Protected Member Functions | |
NekDouble | v_GetAmplitude (const NekDouble time) override |
void | v_GenerateSummary (SolverUtils::SummaryList &s) override |
virtual void | v_SetInitialConditions () |
Protected Member Functions inherited from Nektar::Protocol | |
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 | |
NekDouble | m_start |
NekDouble | m_dur |
NekDouble | m_s1cyclelength |
NekDouble | m_num_s1 |
NekDouble | m_s2cyclelength |
NekDouble | m_s2start |
Protected Attributes inherited from Nektar::Protocol | |
LibUtilities::SessionReaderSharedPtr | m_session |
Session. More... | |
Private Member Functions | |
ProtocolS1S2 (const LibUtilities::SessionReaderSharedPtr &pSession, const TiXmlElement *pXml) | |
Friends | |
class | MemoryManager< ProtocolS1S2 > |
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 45 of file ProtocolS1S2.h.
|
inlineoverride |
Definition at line 61 of file ProtocolS1S2.h.
|
private |
Protocol base class constructor.
Definition at line 55 of file ProtocolS1S2.cpp.
References m_dur, m_num_s1, m_s1cyclelength, m_s2cyclelength, m_s2start, Nektar::Protocol::m_session, and m_start.
|
inlinestatic |
Creates an instance of this class.
Definition at line 49 of file ProtocolS1S2.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
void Nektar::ProtocolS1S2::Initialise | ( | ) |
Initialise the protocol storage and set initial conditions.
Initialise the protocol. Allocate workspace and variable storage.
Definition at line 94 of file ProtocolS1S2.cpp.
|
overrideprotectedvirtual |
Implements Nektar::Protocol.
Definition at line 98 of file ProtocolS1S2.cpp.
References m_dur, m_num_s1, m_s1cyclelength, m_s2start, and m_start.
|
protectedvirtual |
Definition at line 126 of file ProtocolS1S2.cpp.
|
friend |
Definition at line 57 of file ProtocolS1S2.h.
|
static |
Name of class.
Definition at line 57 of file ProtocolS1S2.h.
|
protected |
Definition at line 70 of file ProtocolS1S2.h.
Referenced by ProtocolS1S2(), and v_GetAmplitude().
|
protected |
Definition at line 72 of file ProtocolS1S2.h.
Referenced by ProtocolS1S2(), and v_GetAmplitude().
|
protected |
Definition at line 71 of file ProtocolS1S2.h.
Referenced by ProtocolS1S2(), and v_GetAmplitude().
|
protected |
Definition at line 73 of file ProtocolS1S2.h.
Referenced by ProtocolS1S2().
|
protected |
Definition at line 74 of file ProtocolS1S2.h.
Referenced by ProtocolS1S2(), and v_GetAmplitude().
|
protected |
Definition at line 69 of file ProtocolS1S2.h.
Referenced by ProtocolS1S2(), and v_GetAmplitude().