35#ifndef NEKTAR_SOLVERUTILS_FILTERS_FILTERMODALENERGY_H
36#define NEKTAR_SOLVERUTILS_FILTERS_FILTERMODALENERGY_H
57 const std::shared_ptr<EquationSystem> &pEquation,
61 pSession, pEquation, pParams);
70 const std::shared_ptr<EquationSystem> &pEquation,
#define SOLVER_UTILS_EXPORT
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
std::map< std::string, std::string > ParamMap
std::vector< bool > m_boundaryRegionIsInList
static FilterSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const std::shared_ptr< EquationSystem > &pEquation, const ParamMap &pParams)
void v_Initialise(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) override
void v_Finalise(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) override
std::string m_BoundaryString
void v_Update(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) override
LibUtilities::BasisSharedPtr m_homogeneousBasis
static std::string className
enum MultiRegions::ProjectionType m_projectionType
unsigned int m_outputFrequency
bool v_IsTimeDependent() override
SOLVER_UTILS_EXPORT FilterModalEnergy(const LibUtilities::SessionReaderSharedPtr &pSession, const std::shared_ptr< EquationSystem > &pEquation, const ParamMap &pParams)
bool m_homogen_dealiasing
SOLVER_UTILS_EXPORT ~FilterModalEnergy() override
LibUtilities::FieldIOSharedPtr m_fld
unsigned int m_outputPlane
std::ofstream m_outputStream
void ImportFldBase(std::string pInfile)
std::vector< unsigned int > m_boundaryRegionsIdList
NekDouble L2Error(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, unsigned int field, const NekDouble &time)
Array< OneD, MultiRegions::ExpListSharedPtr > m_base
void SetUpBaseFields(SpatialDomains::MeshGraphSharedPtr &mesh)
std::shared_ptr< Basis > BasisSharedPtr
std::shared_ptr< FieldIO > FieldIOSharedPtr
std::shared_ptr< SessionReader > SessionReaderSharedPtr
ProjectionType
Type of Galerkin projection.
std::shared_ptr< Filter > FilterSharedPtr
A shared pointer to a Driver object.
std::shared_ptr< MeshGraph > MeshGraphSharedPtr