35 #ifndef NEKTAR_SOLVERUTILS_FILTERS_FILTERENERGY_H
36 #define NEKTAR_SOLVERUTILS_FILTERS_FILTERENERGY_H
50 const std::weak_ptr<SolverUtils::EquationSystem> &pEquation,
63 const std::weak_ptr<EquationSystem> &pEquation,
#define SOLVER_UTILS_EXPORT
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
virtual SOLVER_UTILS_EXPORT void v_Finalise(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time)
static SolverUtils::FilterSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< SolverUtils::EquationSystem > &pEquation, const ParamMap &pParams)
Creates an instance of this class.
virtual SOLVER_UTILS_EXPORT void v_Initialise(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time)
virtual SOLVER_UTILS_EXPORT bool v_IsTimeDependent()
static std::string className
Name of the class.
LibUtilities::CommSharedPtr m_comm
SOLVER_UTILS_EXPORT FilterEnergy(const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< EquationSystem > &pEquation, const ParamMap &pParams)
SOLVER_UTILS_EXPORT ~FilterEnergy()
Array< OneD, unsigned int > m_planes
NekDouble m_homogeneousLength
virtual SOLVER_UTILS_EXPORT void v_Update(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time)
unsigned int m_outputFrequency
std::map< std::string, std::string > ParamMap
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
std::shared_ptr< Filter > FilterSharedPtr
A shared pointer to a Driver object.
The above copyright notice and this permission notice shall be included.