Nektar++
|
#include <StimulusCircle.h>
Public Member Functions | |
StimulusCirc (const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField, const TiXmlElement *pXml) | |
virtual | ~StimulusCirc () |
void | Initialise () |
Initialise the protocol storage and set initial conditions. | |
Public Member Functions inherited from Nektar::Stimulus | |
Stimulus (const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField, const TiXmlElement *pXml) | |
virtual | ~Stimulus () |
void | Update (Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) |
Updates RHS of outarray by adding a stimulus to it. | |
void | GenerateSummary (SolverUtils::SummaryList &s) |
Print a summary of the outarray. |
Static Public Member Functions | |
static StimulusSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField, const TiXmlElement *pXml) |
Creates an instance of this class. | |
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. |
Protected Member Functions | |
virtual void | v_Update (Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) |
virtual void | v_GenerateSummary (SolverUtils::SummaryList &s) |
Protected Attributes | |
NekDouble | m_px1 |
NekDouble | m_py1 |
NekDouble | m_pz1 |
NekDouble | m_pr1 |
NekDouble | m_pis |
NekDouble | m_strength |
NekDouble | v_amp |
Protected Attributes inherited from Nektar::Stimulus | |
LibUtilities::SessionReaderSharedPtr | m_session |
Session. | |
MultiRegions::ExpListSharedPtr | m_field |
Transmembrane potential field from PDE system. | |
int | m_nq |
Number of physical points. | |
ProtocolSharedPtr | m_Protocol |
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 53 of file StimulusCircle.h.
Nektar::StimulusCirc::StimulusCirc | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const MultiRegions::ExpListSharedPtr & | pField, | ||
const TiXmlElement * | pXml | ||
) |
Stimulus base class constructor.
Definition at line 61 of file StimulusCircle.cpp.
References Nektar::Stimulus::m_field, Nektar::Stimulus::m_nq, m_pis, m_pr1, m_px1, m_py1, m_pz1, Nektar::Stimulus::m_session, and m_strength.
|
inlinevirtual |
Definition at line 73 of file StimulusCircle.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 57 of file StimulusCircle.h.
void Nektar::StimulusCirc::Initialise | ( | ) |
Initialise the protocol storage and set initial conditions.
Initialise the stimulus. Allocate workspace and variable storage.
Reimplemented from Nektar::Stimulus.
Definition at line 101 of file StimulusCircle.cpp.
|
protectedvirtual |
|
protectedvirtual |
Implements Nektar::Stimulus.
Definition at line 110 of file StimulusCircle.cpp.
References Nektar::Stimulus::m_field, m_pis, m_pr1, Nektar::Stimulus::m_Protocol, m_px1, m_py1, m_pz1, m_strength, and v_amp.
|
static |
Name of class.
Definition at line 67 of file StimulusCircle.h.
|
protected |
Definition at line 83 of file StimulusCircle.h.
Referenced by StimulusCirc(), and v_Update().
|
protected |
Definition at line 82 of file StimulusCircle.h.
Referenced by StimulusCirc(), and v_Update().
|
protected |
Definition at line 79 of file StimulusCircle.h.
Referenced by StimulusCirc(), and v_Update().
|
protected |
Definition at line 80 of file StimulusCircle.h.
Referenced by StimulusCirc(), and v_Update().
|
protected |
Definition at line 81 of file StimulusCircle.h.
Referenced by StimulusCirc(), and v_Update().
|
protected |
Definition at line 84 of file StimulusCircle.h.
Referenced by StimulusCirc(), and v_Update().
|
protected |
Definition at line 85 of file StimulusCircle.h.
Referenced by v_Update().