36 #ifndef NEKTAR_SOLVERUTILS_FILTERS_FILTERENERGY1D_H
37 #define NEKTAR_SOLVERUTILS_FILTERS_FILTERENERGY1D_H
61 const std::map<std::string, std::string> &pParams) {
virtual void v_Finalise(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time)
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
SOLVER_UTILS_EXPORT FilterEnergy1D(const LibUtilities::SessionReaderSharedPtr &pSession, const ParamMap &pParams)
Set up filter with output file and frequency parameters.
Filter for one-dimensional energy spectrum.
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
static std::string className
Name of the class.
std::ofstream m_out
Output file.
virtual void v_Update(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time)
Update filter output with the current timestep's orthogonal coefficients.
SOLVER_UTILS_EXPORT ~FilterEnergy1D()
Destructor.
unsigned int m_index
Current index counter.
virtual void v_Initialise(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time)
Initialize filter.
boost::shared_ptr< Filter > FilterSharedPtr
A shared pointer to a Driver object.
std::map< std::string, std::string > ParamMap
static FilterSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const std::map< std::string, std::string > &pParams)
Creates an instance of this class.
#define SOLVER_UTILS_EXPORT
virtual bool v_IsTimeDependent()
unsigned int m_outputFrequency
Output frequency.