Nektar++
|
#include <StimulusRect.h>
Public Member Functions | |
virtual | ~StimulusRect () |
void | Initialise () |
Initialise the stimulus storage and set initial conditions. More... | |
Public Member Functions inherited from Nektar::Stimulus | |
virtual | ~Stimulus () |
void | Initialise () |
Initialise the stimulus storage and set initial conditions. More... | |
void | Update (Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) |
Updates RHS of outarray by adding a stimulus to it. More... | |
void | GenerateSummary (SolverUtils::SummaryList &s) |
Print a summary of the outarray. More... | |
Static Public Member Functions | |
static StimulusSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField, const TiXmlElement *pXml) |
Creates an instance of this class. More... | |
Static Public Member Functions inherited from Nektar::Stimulus | |
static std::vector< StimulusSharedPtr > | LoadStimuli (const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField) |
Static Public Attributes | |
static std::string | className |
Name of class. More... | |
Protected Member Functions | |
virtual void | v_Update (Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) |
virtual void | v_GenerateSummary (SolverUtils::SummaryList &s) |
Protected Member Functions inherited from Nektar::Stimulus | |
Stimulus (const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField, const TiXmlElement *pXml) | |
Protected Attributes | |
NekDouble | m_px1 |
NekDouble | m_py1 |
NekDouble | m_pz1 |
NekDouble | m_px2 |
NekDouble | m_py2 |
NekDouble | m_pz2 |
NekDouble | m_pis |
NekDouble | m_strength |
NekDouble | m_chiCapMembrane |
Protected Attributes inherited from Nektar::Stimulus | |
LibUtilities::SessionReaderSharedPtr | m_session |
Session. More... | |
MultiRegions::ExpListSharedPtr | m_field |
Transmembrane potential field from PDE system. More... | |
int | m_nq |
Number of physical points. More... | |
ProtocolSharedPtr | m_Protocol |
Stimulus protocol to apply. More... | |
Private Member Functions | |
StimulusRect (const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField, const TiXmlElement *pXml) | |
Friends | |
class | MemoryManager< StimulusRect > |
Protocol base class.
The Stimulus 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 50 of file StimulusRect.h.
|
inlinevirtual |
Definition at line 68 of file StimulusRect.h.
|
private |
Stimulus base class constructor.
Definition at line 62 of file StimulusRect.cpp.
References m_chiCapMembrane, Nektar::Stimulus::m_field, Nektar::Stimulus::m_nq, m_pis, m_px1, m_px2, m_py1, m_py2, m_pz1, m_pz2, Nektar::Stimulus::m_session, and m_strength.
|
inlinestatic |
Creates an instance of this class.
Definition at line 54 of file StimulusRect.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
void Nektar::StimulusRect::Initialise | ( | ) |
Initialise the stimulus storage and set initial conditions.
Initialise the stimulus. Allocate workspace and variable storage.
Definition at line 111 of file StimulusRect.cpp.
|
protectedvirtual |
|
protectedvirtual |
Implements Nektar::Stimulus.
Definition at line 118 of file StimulusRect.cpp.
References m_chiCapMembrane, Nektar::Stimulus::m_field, m_pis, Nektar::Stimulus::m_Protocol, m_px1, m_px2, m_py1, m_py2, m_pz1, m_pz2, and m_strength.
|
friend |
Definition at line 66 of file StimulusRect.h.
|
static |
Name of class.
Definition at line 64 of file StimulusRect.h.
|
protected |
Definition at line 82 of file StimulusRect.h.
Referenced by StimulusRect(), and v_Update().
|
protected |
Definition at line 80 of file StimulusRect.h.
Referenced by StimulusRect(), and v_Update().
|
protected |
Definition at line 74 of file StimulusRect.h.
Referenced by StimulusRect(), and v_Update().
|
protected |
Definition at line 77 of file StimulusRect.h.
Referenced by StimulusRect(), and v_Update().
|
protected |
Definition at line 75 of file StimulusRect.h.
Referenced by StimulusRect(), and v_Update().
|
protected |
Definition at line 78 of file StimulusRect.h.
Referenced by StimulusRect(), and v_Update().
|
protected |
Definition at line 76 of file StimulusRect.h.
Referenced by StimulusRect(), and v_Update().
|
protected |
Definition at line 79 of file StimulusRect.h.
Referenced by StimulusRect(), and v_Update().
|
protected |
Definition at line 81 of file StimulusRect.h.
Referenced by StimulusRect(), and v_Update().