61 for(
int n = 0; n < pFields.num_elements(); ++n)
64 pFields[n]->GetCoeffs(),
LibUtilities::FieldMetaDataMap m_fieldMetaData
static std::string className
Name of the class.
std::vector< Array< OneD, NekDouble > > m_outFields
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
static FilterSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const std::map< std::string, std::string > &pParams)
Creates an instance of this class.
virtual NekDouble v_GetScale()
virtual void v_ProcessSample(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)
std::map< std::string, std::string > ParamMap
SOLVER_UTILS_EXPORT FilterAverageFields(const LibUtilities::SessionReaderSharedPtr &pSession, const ParamMap &pParams)
virtual void v_PrepareOutput(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)
FilterFactory & GetFilterFactory()
unsigned int m_numSamples
void Vadd(int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
Add vector z = x+y.
virtual SOLVER_UTILS_EXPORT ~FilterAverageFields()
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.