Nektar++
|
#include <FilterHilbertFFTPhase.h>
Public Member Functions | |
FilterHilbertFFTPhase (const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< SolverUtils::EquationSystem > &pEquation, const ParamMap &pParams) | |
~FilterHilbertFFTPhase () override | |
Public Member Functions inherited from Nektar::SolverUtils::Filter | |
SOLVER_UTILS_EXPORT | Filter (const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< EquationSystem > &pEquation) |
virtual SOLVER_UTILS_EXPORT | ~Filter () |
SOLVER_UTILS_EXPORT void | Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
SOLVER_UTILS_EXPORT void | Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
SOLVER_UTILS_EXPORT void | Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
SOLVER_UTILS_EXPORT bool | IsTimeDependent () |
Static Public Member Functions | |
static SolverUtils::FilterSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< SolverUtils::EquationSystem > &pEquation, const ParamMap &pParams) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of the class. More... | |
Protected Member Functions | |
void | v_Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) override |
void | v_Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) override |
void | v_Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) override |
bool | v_IsTimeDependent () override |
virtual void | v_Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)=0 |
virtual void | v_Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)=0 |
virtual void | v_Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)=0 |
virtual bool | v_IsTimeDependent ()=0 |
Private Attributes | |
unsigned int | m_index |
unsigned int | m_outputIndex |
unsigned int | vCounter |
unsigned int | m_outputFrequency |
int | m_window |
unsigned int | m_overlap |
bool | linear_trans = true |
bool | provided_mean = false |
std::string | m_outputFile |
LibUtilities::FieldIOSharedPtr | m_fld |
unsigned int | npoints |
NekDouble | m_TimeStep |
double | m_mean |
Array< OneD, NekDouble > | oldV |
Array< OneD, NekDouble > | oldV_zero_mean |
Array< OneD, NekDouble > | fcoef |
Array< OneD, NekDouble > | h |
Array< OneD, NekDouble > | overlap_phase |
fftw_plan | plan_forward |
fftw_plan | plan_backward |
Friends | |
class | MemoryManager< FilterHilbertFFTPhase > |
Additional Inherited Members | |
Public Types inherited from Nektar::SolverUtils::Filter | |
typedef std::map< std::string, std::string > | ParamMap |
Protected Attributes inherited from Nektar::SolverUtils::Filter | |
LibUtilities::SessionReaderSharedPtr | m_session |
const std::weak_ptr< EquationSystem > | m_equ |
Definition at line 45 of file FilterHilbertFFTPhase.h.
Nektar::FilterHilbertFFTPhase::FilterHilbertFFTPhase | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const std::weak_ptr< SolverUtils::EquationSystem > & | pEquation, | ||
const ParamMap & | pParams | ||
) |
Definition at line 44 of file FilterHilbertFFTPhase.cpp.
References ASSERTL0, Nektar::LibUtilities::FieldIO::CreateDefault(), Nektar::LibUtilities::Equation::Evaluate(), linear_trans, m_fld, m_index, m_mean, m_outputFile, m_outputFrequency, m_outputIndex, m_overlap, Nektar::SolverUtils::Filter::m_session, m_window, and provided_mean.
|
override |
Definition at line 103 of file FilterHilbertFFTPhase.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file FilterHilbertFFTPhase.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 293 of file FilterHilbertFFTPhase.cpp.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 107 of file FilterHilbertFFTPhase.cpp.
References fcoef, h, m_index, m_outputIndex, m_overlap, m_TimeStep, m_window, npoints, oldV, oldV_zero_mean, overlap_phase, plan_backward, plan_forward, v_Update(), and vCounter.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 300 of file FilterHilbertFFTPhase.cpp.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 143 of file FilterHilbertFFTPhase.cpp.
References fcoef, h, linear_trans, m_fld, m_index, m_mean, m_outputFile, m_outputFrequency, m_outputIndex, m_overlap, m_TimeStep, m_window, npoints, oldV, oldV_zero_mean, overlap_phase, plan_backward, plan_forward, provided_mean, and vCounter.
Referenced by v_Initialise().
|
friend |
Definition at line 1 of file FilterHilbertFFTPhase.h.
|
static |
Name of the class.
Definition at line 63 of file FilterHilbertFFTPhase.h.
Definition at line 106 of file FilterHilbertFFTPhase.h.
Referenced by v_Initialise(), and v_Update().
Definition at line 107 of file FilterHilbertFFTPhase.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 93 of file FilterHilbertFFTPhase.h.
Referenced by FilterHilbertFFTPhase(), and v_Update().
|
private |
Definition at line 96 of file FilterHilbertFFTPhase.h.
Referenced by FilterHilbertFFTPhase(), and v_Update().
|
private |
Definition at line 85 of file FilterHilbertFFTPhase.h.
Referenced by FilterHilbertFFTPhase(), v_Initialise(), and v_Update().
|
private |
Definition at line 103 of file FilterHilbertFFTPhase.h.
Referenced by FilterHilbertFFTPhase(), and v_Update().
|
private |
Definition at line 95 of file FilterHilbertFFTPhase.h.
Referenced by FilterHilbertFFTPhase(), and v_Update().
|
private |
Definition at line 90 of file FilterHilbertFFTPhase.h.
Referenced by FilterHilbertFFTPhase(), and v_Update().
|
private |
Definition at line 86 of file FilterHilbertFFTPhase.h.
Referenced by FilterHilbertFFTPhase(), v_Initialise(), and v_Update().
|
private |
Definition at line 92 of file FilterHilbertFFTPhase.h.
Referenced by FilterHilbertFFTPhase(), v_Initialise(), and v_Update().
|
private |
Definition at line 100 of file FilterHilbertFFTPhase.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 91 of file FilterHilbertFFTPhase.h.
Referenced by FilterHilbertFFTPhase(), v_Initialise(), and v_Update().
|
private |
Definition at line 99 of file FilterHilbertFFTPhase.h.
Referenced by v_Initialise(), and v_Update().
Definition at line 104 of file FilterHilbertFFTPhase.h.
Referenced by v_Initialise(), and v_Update().
Definition at line 105 of file FilterHilbertFFTPhase.h.
Referenced by v_Initialise(), and v_Update().
Definition at line 108 of file FilterHilbertFFTPhase.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 111 of file FilterHilbertFFTPhase.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 110 of file FilterHilbertFFTPhase.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 94 of file FilterHilbertFFTPhase.h.
Referenced by FilterHilbertFFTPhase(), and v_Update().
|
private |
Definition at line 87 of file FilterHilbertFFTPhase.h.
Referenced by v_Initialise(), and v_Update().