Nektar++
|
#include <FilterSampler.h>
Public Member Functions | |
SOLVER_UTILS_EXPORT | FilterSampler (const LibUtilities::SessionReaderSharedPtr &pSession, const ParamMap &pParams) |
virtual SOLVER_UTILS_EXPORT | ~FilterSampler () |
Public Member Functions inherited from Nektar::SolverUtils::Filter | |
SOLVER_UTILS_EXPORT | Filter (const LibUtilities::SessionReaderSharedPtr &pSession) |
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 () |
Protected Member Functions | |
virtual SOLVER_UTILS_EXPORT void | v_Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual SOLVER_UTILS_EXPORT void | v_Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual SOLVER_UTILS_EXPORT void | v_Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual SOLVER_UTILS_EXPORT void | v_ProcessSample (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)=0 |
virtual SOLVER_UTILS_EXPORT void | v_PrepareOutput (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual SOLVER_UTILS_EXPORT std::string | v_GetFileSuffix ()=0 |
void | OutputField (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, int dump=-1) |
Protected Member Functions inherited from Nektar::SolverUtils::Filter | |
virtual bool | v_IsTimeDependent ()=0 |
Protected Attributes | |
NekDouble | m_scale |
unsigned int | m_numSamples |
unsigned int | m_outputFrequency |
unsigned int | m_sampleFrequency |
unsigned int | m_index |
unsigned int | m_outputIndex |
std::string | m_outputFile |
LibUtilities::FieldIOSharedPtr | m_fld |
LibUtilities::FieldMetaDataMap | m_fieldMetaData |
std::vector< Array< OneD, NekDouble > > | m_outFields |
std::vector< std::string > | m_variables |
Protected Attributes inherited from Nektar::SolverUtils::Filter | |
LibUtilities::SessionReaderSharedPtr | m_session |
Friends | |
class | MemoryManager< FilterSampler > |
Additional Inherited Members | |
Public Types inherited from Nektar::SolverUtils::Filter | |
typedef std::map< std::string, std::string > | ParamMap |
Definition at line 46 of file FilterSampler.h.
Nektar::SolverUtils::FilterSampler::FilterSampler | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const ParamMap & | pParams | ||
) |
Definition at line 44 of file FilterSampler.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::LibUtilities::Equation::Evaluate(), m_fld, m_index, m_numSamples, m_outputFile, m_outputFrequency, m_outputIndex, m_sampleFrequency, m_scale, and Nektar::SolverUtils::Filter::m_session.
|
virtual |
Definition at line 95 of file FilterSampler.cpp.
|
protected |
Definition at line 145 of file FilterSampler.cpp.
References m_fieldMetaData, m_fld, m_numSamples, m_outFields, m_outputFile, m_scale, m_variables, Vmath::Smul(), and v_GetFileSuffix().
Referenced by v_Finalise(), and v_Update().
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 136 of file FilterSampler.cpp.
References m_fieldMetaData, OutputField(), and v_PrepareOutput().
|
protectedpure virtual |
Implemented in Nektar::SolverUtils::FilterReynoldsStresses, Nektar::SolverUtils::FilterAverageFields, and Nektar::SolverUtils::FilterMovingAverage.
Referenced by OutputField().
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Reimplemented in Nektar::SolverUtils::FilterMovingAverage, Nektar::SolverUtils::FilterReynoldsStresses, and Nektar::SolverUtils::FilterAverageFields.
Definition at line 99 of file FilterSampler.cpp.
References m_fieldMetaData, m_outFields, and m_variables.
Referenced by Nektar::SolverUtils::FilterAverageFields::v_Initialise(), Nektar::SolverUtils::FilterReynoldsStresses::v_Initialise(), and Nektar::SolverUtils::FilterMovingAverage::v_Initialise().
|
inlineprotectedvirtual |
Reimplemented in Nektar::SolverUtils::FilterReynoldsStresses, and Nektar::SolverUtils::FilterAverageFields.
Definition at line 69 of file FilterSampler.h.
Referenced by v_Finalise(), and v_Update().
|
protectedpure virtual |
Implemented in Nektar::SolverUtils::FilterMovingAverage, Nektar::SolverUtils::FilterReynoldsStresses, and Nektar::SolverUtils::FilterAverageFields.
Referenced by v_Update().
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 115 of file FilterSampler.cpp.
References m_fieldMetaData, m_index, m_numSamples, m_outputFrequency, m_outputIndex, m_sampleFrequency, OutputField(), v_PrepareOutput(), and v_ProcessSample().
|
friend |
Definition at line 49 of file FilterSampler.h.
|
protected |
Definition at line 89 of file FilterSampler.h.
Referenced by OutputField(), v_Finalise(), v_Initialise(), and v_Update().
|
protected |
Definition at line 88 of file FilterSampler.h.
Referenced by FilterSampler(), and OutputField().
|
protected |
Definition at line 85 of file FilterSampler.h.
Referenced by FilterSampler(), and v_Update().
|
protected |
Definition at line 82 of file FilterSampler.h.
Referenced by FilterSampler(), OutputField(), Nektar::SolverUtils::FilterAverageFields::v_PrepareOutput(), Nektar::SolverUtils::FilterReynoldsStresses::v_PrepareOutput(), Nektar::SolverUtils::FilterReynoldsStresses::v_ProcessSample(), Nektar::SolverUtils::FilterMovingAverage::v_ProcessSample(), and v_Update().
Definition at line 90 of file FilterSampler.h.
Referenced by OutputField(), v_Initialise(), Nektar::SolverUtils::FilterReynoldsStresses::v_PrepareOutput(), Nektar::SolverUtils::FilterAverageFields::v_ProcessSample(), Nektar::SolverUtils::FilterReynoldsStresses::v_ProcessSample(), and Nektar::SolverUtils::FilterMovingAverage::v_ProcessSample().
|
protected |
Definition at line 87 of file FilterSampler.h.
Referenced by FilterSampler(), and OutputField().
|
protected |
Definition at line 83 of file FilterSampler.h.
Referenced by FilterSampler(), and v_Update().
|
protected |
Definition at line 86 of file FilterSampler.h.
Referenced by FilterSampler(), and v_Update().
|
protected |
Definition at line 84 of file FilterSampler.h.
Referenced by Nektar::SolverUtils::FilterMovingAverage::FilterMovingAverage(), Nektar::SolverUtils::FilterReynoldsStresses::FilterReynoldsStresses(), FilterSampler(), and v_Update().
|
protected |
Definition at line 81 of file FilterSampler.h.
Referenced by FilterSampler(), OutputField(), Nektar::SolverUtils::FilterAverageFields::v_PrepareOutput(), and Nektar::SolverUtils::FilterReynoldsStresses::v_PrepareOutput().
|
protected |
Definition at line 91 of file FilterSampler.h.
Referenced by OutputField(), v_Initialise(), Nektar::SolverUtils::FilterAverageFields::v_Initialise(), Nektar::SolverUtils::FilterReynoldsStresses::v_Initialise(), and Nektar::SolverUtils::FilterMovingAverage::v_Initialise().