Nektar++
|
#include <FilterMean.h>
Public Member Functions | |
SOLVER_UTILS_EXPORT | FilterMean (const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< EquationSystem > &pEquation, const ParamMap &pParams) |
SOLVER_UTILS_EXPORT | ~FilterMean () override |
Public Member Functions inherited from Nektar::SolverUtils::Filter | |
SOLVER_UTILS_EXPORT | Filter (const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< EquationSystem > &pEquation) |
virtual SOLVER_UTILS_EXPORT | ~Filter () |
SOLVER_UTILS_EXPORT void | Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
SOLVER_UTILS_EXPORT void | Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
SOLVER_UTILS_EXPORT void | Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
SOLVER_UTILS_EXPORT bool | IsTimeDependent () |
Static Public Member Functions | |
static SolverUtils::FilterSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< SolverUtils::EquationSystem > &pEquation, const ParamMap &pParams) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of the class. More... | |
Protected Member Functions | |
SOLVER_UTILS_EXPORT void | v_Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time) override |
SOLVER_UTILS_EXPORT void | v_Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time) override |
SOLVER_UTILS_EXPORT void | v_Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time) override |
SOLVER_UTILS_EXPORT bool | v_IsTimeDependent () override |
virtual void | v_Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)=0 |
virtual void | v_Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)=0 |
virtual void | v_Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time)=0 |
virtual bool | v_IsTimeDependent ()=0 |
Private Attributes | |
unsigned int | m_index |
unsigned int | m_outputFrequency |
std::string | m_outputFile |
std::ofstream | m_outputStream |
bool | m_homogeneous |
NekDouble | m_homogeneousLength |
NekDouble | m_area |
Array< OneD, unsigned int > | m_planes |
Additional Inherited Members | |
Public Types inherited from Nektar::SolverUtils::Filter | |
typedef std::map< std::string, std::string > | ParamMap |
Protected Attributes inherited from Nektar::SolverUtils::Filter | |
LibUtilities::SessionReaderSharedPtr | m_session |
const std::weak_ptr< EquationSystem > | m_equ |
Definition at line 42 of file FilterMean.h.
Nektar::SolverUtils::FilterMean::FilterMean | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const std::weak_ptr< EquationSystem > & | pEquation, | ||
const ParamMap & | pParams | ||
) |
Definition at line 48 of file FilterMean.cpp.
References ASSERTL0, Nektar::LibUtilities::Equation::Evaluate(), m_homogeneousLength, m_outputFile, m_outputFrequency, and Nektar::SolverUtils::Filter::m_session.
|
override |
Definition at line 75 of file FilterMean.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 46 of file FilterMean.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 199 of file FilterMean.cpp.
References m_outputStream.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 79 of file FilterMean.cpp.
References ASSERTL0, Nektar::MultiRegions::e1D, Nektar::MultiRegions::e3DH1D, Nektar::MultiRegions::e3DH2D, m_area, Nektar::SolverUtils::Filter::m_equ, m_homogeneous, m_homogeneousLength, m_index, m_outputFile, m_outputStream, m_planes, and v_Update().
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 210 of file FilterMean.cpp.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 147 of file FilterMean.cpp.
References m_area, m_homogeneous, m_homogeneousLength, m_index, m_outputFrequency, and m_outputStream.
Referenced by v_Initialise().
|
static |
Name of the class.
Definition at line 58 of file FilterMean.h.
|
private |
Definition at line 85 of file FilterMean.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 83 of file FilterMean.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 84 of file FilterMean.h.
Referenced by FilterMean(), v_Initialise(), and v_Update().
|
private |
Definition at line 79 of file FilterMean.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 81 of file FilterMean.h.
Referenced by FilterMean(), and v_Initialise().
|
private |
Definition at line 80 of file FilterMean.h.
Referenced by FilterMean(), and v_Update().
|
private |
Definition at line 82 of file FilterMean.h.
Referenced by v_Finalise(), v_Initialise(), and v_Update().
Definition at line 86 of file FilterMean.h.
Referenced by v_Initialise().