36 #ifndef NEKTAR_SOLVERUTILS_FILTERS_FILTERTHRESHOLDMAX_H
37 #define NEKTAR_SOLVERUTILS_FILTERS_FILTERTHRESHOLDMAX_H
54 const std::map<std::string, std::string> &pParams) {
Array< OneD, NekDouble > m_threshold
Storage for recording when each point in domain rises above threshold.
static FilterSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const std::map< std::string, std::string > &pParams)
Creates an instance of this class.
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
virtual void v_Initialise(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)
Initialises the filter.
LibUtilities::FieldIOSharedPtr m_fld
FieldIO object for writing data.
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
int m_thresholdVar
Variable on which to detect threshold.
virtual SOLVER_UTILS_EXPORT ~FilterThresholdMax()
NekDouble m_initialValue
Initial value of storage.
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
SOLVER_UTILS_EXPORT FilterThresholdMax(const LibUtilities::SessionReaderSharedPtr &pSession, const ParamMap &pParams)
virtual bool v_IsTimeDependent()
Indicate that this filter is time dependent.
NekDouble m_thresholdValue
Value of threshold.
boost::shared_ptr< Filter > FilterSharedPtr
A shared pointer to a Driver object.
static std::string className
Name of the class.
boost::shared_ptr< FieldIO > FieldIOSharedPtr
NekDouble m_startTime
Time at which to start recording.
std::map< std::string, std::string > ParamMap
#define SOLVER_UTILS_EXPORT
std::string m_outputFile
File into which to write output data.
virtual void v_Finalise(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)
Finalise the filter and write out data.
virtual void v_Update(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)
For each point in domain test if solution is above threshold.