Nektar++
|
#include <FilterElectrogram.h>
Public Member Functions | |
FilterElectrogram (const LibUtilities::SessionReaderSharedPtr &pSession, const std::map< std::string, std::string > &pParams) | |
~FilterElectrogram () |
Static Public Member Functions | |
static FilterSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const std::map< std::string, std::string > &pParams) |
Creates an instance of this class. |
Static Public Attributes | |
static std::string | className |
Name of the class. |
Protected Member Functions | |
virtual void | v_Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual void | v_Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual void | v_Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual bool | v_IsTimeDependent () |
Private Attributes | |
Array< OneD, Array< OneD, NekDouble > > | m_grad_R_x |
Gradient of the radius from each electrogram point in x-direction. | |
Array< OneD, Array< OneD, NekDouble > > | m_grad_R_y |
Gradient of the radius from each electrogram point in y-direction. | |
Array< OneD, Array< OneD, NekDouble > > | m_grad_R_z |
Gradient of the radius from each electrogram point in z-direction. | |
SpatialDomains::PointGeomVector | m_electrogramPoints |
List of electrogram points. | |
unsigned int | m_index |
Counts number of calls to update (number of timesteps) | |
unsigned int | m_outputFrequency |
Number of timesteps between outputs. | |
std::string | m_outputFile |
Filename to output electrogram data to. | |
std::ofstream | m_outputStream |
Output file stream for electrogram data. | |
std::stringstream | m_electrogramStream |
Point coordinate input string. |
Friends | |
class | MemoryManager< FilterElectrogram > |
Definition at line 45 of file FilterElectrogram.h.
Nektar::FilterElectrogram::FilterElectrogram | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const std::map< std::string, std::string > & | pParams | ||
) |
Definition at line 50 of file FilterElectrogram.cpp.
References ASSERTL0, m_electrogramStream, m_index, m_outputFile, and m_outputFrequency.
Nektar::FilterElectrogram::~FilterElectrogram | ( | ) |
Definition at line 90 of file FilterElectrogram.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file FilterElectrogram.h.
|
protectedvirtual |
Definition at line 261 of file FilterElectrogram.cpp.
References m_outputStream.
|
protectedvirtual |
Definition at line 99 of file FilterElectrogram.cpp.
References ASSERTL0, m_electrogramPoints, m_electrogramStream, m_grad_R_x, m_grad_R_y, m_grad_R_z, m_index, m_outputFile, m_outputStream, Vmath::Sadd(), Vmath::Sdiv(), v_Update(), Vmath::Vsqrt(), Vmath::Vvtvp(), and Vmath::Vvtvvtp().
|
protectedvirtual |
Definition at line 273 of file FilterElectrogram.cpp.
|
protectedvirtual |
Definition at line 208 of file FilterElectrogram.cpp.
References m_electrogramPoints, m_grad_R_x, m_grad_R_y, m_grad_R_z, m_index, m_outputFrequency, m_outputStream, Nektar::LibUtilities::ReduceSum, Vmath::Vvtvp(), and Vmath::Vvtvvtp().
Referenced by v_Initialise().
|
friend |
Definition at line 48 of file FilterElectrogram.h.
|
static |
Name of the class.
Definition at line 59 of file FilterElectrogram.h.
|
private |
List of electrogram points.
Definition at line 80 of file FilterElectrogram.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Point coordinate input string.
Definition at line 90 of file FilterElectrogram.h.
Referenced by FilterElectrogram(), and v_Initialise().
Gradient of the radius from each electrogram point in x-direction.
Definition at line 74 of file FilterElectrogram.h.
Referenced by v_Initialise(), and v_Update().
Gradient of the radius from each electrogram point in y-direction.
Definition at line 76 of file FilterElectrogram.h.
Referenced by v_Initialise(), and v_Update().
Gradient of the radius from each electrogram point in z-direction.
Definition at line 78 of file FilterElectrogram.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Counts number of calls to update (number of timesteps)
Definition at line 82 of file FilterElectrogram.h.
Referenced by FilterElectrogram(), v_Initialise(), and v_Update().
|
private |
Filename to output electrogram data to.
Definition at line 86 of file FilterElectrogram.h.
Referenced by FilterElectrogram(), and v_Initialise().
|
private |
Number of timesteps between outputs.
Definition at line 84 of file FilterElectrogram.h.
Referenced by FilterElectrogram(), and v_Update().
|
private |
Output file stream for electrogram data.
Definition at line 88 of file FilterElectrogram.h.
Referenced by v_Finalise(), v_Initialise(), and v_Update().