36 #ifndef NEKTAR_SOLVERUTILS_FILTERS_FILTERAVERAGEFIELDS_H
37 #define NEKTAR_SOLVERUTILS_FILTERS_FILTERAVERAGEFIELDS_H
53 const std::map<std::string, std::string> &pParams) {
virtual void v_Finalise(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)
LibUtilities::FieldMetaDataMap m_avgFieldMetaData
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)
static std::string className
Name of the class.
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
unsigned int m_numAverages
Array< OneD, Array< OneD, NekDouble > > m_avgFields
void OutputAvgField(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, int dump=-1)
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
std::map< std::string, std::string > FieldMetaDataMap
virtual void v_Update(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)
static FilterSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const std::map< std::string, std::string > &pParams)
Creates an instance of this class.
boost::shared_ptr< Filter > FilterSharedPtr
A shared pointer to a Driver object.
virtual bool v_IsTimeDependent()
boost::shared_ptr< FieldIO > FieldIOSharedPtr
std::map< std::string, std::string > ParamMap
unsigned int m_outputFrequency
#define SOLVER_UTILS_EXPORT
SOLVER_UTILS_EXPORT FilterAverageFields(const LibUtilities::SessionReaderSharedPtr &pSession, const ParamMap &pParams)
unsigned int m_outputIndex
LibUtilities::FieldIOSharedPtr m_fld
virtual SOLVER_UTILS_EXPORT ~FilterAverageFields()
unsigned int m_sampleFrequency