Nektar++
|
#include <FilterThresholdMin.h>
Public Member Functions | |
SOLVER_UTILS_EXPORT | FilterThresholdMin (const LibUtilities::SessionReaderSharedPtr &pSession, const ParamMap &pParams) |
virtual SOLVER_UTILS_EXPORT | ~FilterThresholdMin () |
![]() | |
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 () |
Static Public Member Functions | |
static FilterSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, 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 | |
virtual SOLVER_UTILS_EXPORT void | v_Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
Initialises the filter. More... | |
virtual SOLVER_UTILS_EXPORT void | v_Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
For each point in domain test if solution is below threshold. More... | |
virtual SOLVER_UTILS_EXPORT void | v_Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
Finalise the filter and write out data. More... | |
virtual SOLVER_UTILS_EXPORT bool | v_IsTimeDependent () |
Indicate that this filter is time dependent. More... | |
Private Attributes | |
Array< OneD, NekDouble > | m_threshold |
Storage for recording when each point in domain drops below threshold. More... | |
NekDouble | m_startTime |
Time at which to start recording. More... | |
NekDouble | m_thresholdValue |
Value of threshold. More... | |
int | m_thresholdVar |
Variable on which to detect threshold. More... | |
NekDouble | m_initialValue |
Initial value of storage. More... | |
std::string | m_outputFile |
File into which to write output data. More... | |
LibUtilities::FieldIOSharedPtr | m_fld |
FieldIO object for writing data. More... | |
Friends | |
class | MemoryManager< FilterThresholdMin > |
Additional Inherited Members | |
![]() | |
typedef std::map< std::string, std::string > | ParamMap |
![]() | |
LibUtilities::SessionReaderSharedPtr | m_session |
Definition at line 46 of file FilterThresholdMin.h.
Nektar::SolverUtils::FilterThresholdMin::FilterThresholdMin | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const ParamMap & | pParams | ||
) |
Definition at line 51 of file FilterThresholdMin.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::LibUtilities::Equation::Evaluate(), Nektar::StdRegions::find(), m_fld, m_initialValue, m_outputFile, Nektar::SolverUtils::Filter::m_session, m_startTime, m_thresholdValue, and m_thresholdVar.
|
virtual |
Definition at line 110 of file FilterThresholdMin.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 52 of file FilterThresholdMin.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
protectedvirtual |
Finalise the filter and write out data.
Implements Nektar::SolverUtils::Filter.
Definition at line 157 of file FilterThresholdMin.cpp.
References m_fld, m_outputFile, and m_threshold.
|
protectedvirtual |
Initialises the filter.
Implements Nektar::SolverUtils::Filter.
Definition at line 119 of file FilterThresholdMin.cpp.
References m_initialValue, m_threshold, and m_thresholdVar.
|
protectedvirtual |
Indicate that this filter is time dependent.
Implements Nektar::SolverUtils::Filter.
Definition at line 186 of file FilterThresholdMin.cpp.
|
protectedvirtual |
For each point in domain test if solution is below threshold.
Implements Nektar::SolverUtils::Filter.
Definition at line 131 of file FilterThresholdMin.cpp.
References m_startTime, m_threshold, m_thresholdValue, and m_thresholdVar.
|
friend |
Definition at line 49 of file FilterThresholdMin.h.
|
static |
Name of the class.
Definition at line 63 of file FilterThresholdMin.h.
|
private |
FieldIO object for writing data.
Definition at line 100 of file FilterThresholdMin.h.
Referenced by FilterThresholdMin(), and v_Finalise().
|
private |
Initial value of storage.
Definition at line 96 of file FilterThresholdMin.h.
Referenced by FilterThresholdMin(), and v_Initialise().
|
private |
File into which to write output data.
Definition at line 98 of file FilterThresholdMin.h.
Referenced by FilterThresholdMin(), and v_Finalise().
|
private |
Time at which to start recording.
Definition at line 90 of file FilterThresholdMin.h.
Referenced by FilterThresholdMin(), and v_Update().
Storage for recording when each point in domain drops below threshold.
Definition at line 88 of file FilterThresholdMin.h.
Referenced by v_Finalise(), v_Initialise(), and v_Update().
|
private |
Value of threshold.
Definition at line 92 of file FilterThresholdMin.h.
Referenced by FilterThresholdMin(), and v_Update().
|
private |
Variable on which to detect threshold.
Definition at line 94 of file FilterThresholdMin.h.
Referenced by FilterThresholdMin(), v_Initialise(), and v_Update().