Nektar++
|
#include <FilterOffsetPhase.h>
Public Member Functions | |
FilterOffsetPhase (const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< SolverUtils::EquationSystem > &pEquation, const ParamMap &pParams) | |
~FilterOffsetPhase () 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 | |
void | v_Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) override |
void | v_Update (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 |
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_outputIndex |
unsigned int | m_outputFrequency |
std::string | m_outputFile |
CellModelSharedPtr | m_cell |
LibUtilities::FieldIOSharedPtr | m_fld |
double | meanV = -57.2986 |
Array< OneD, NekDouble > | oldV |
Friends | |
class | MemoryManager< FilterOffsetPhase > |
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 47 of file FilterOffsetPhase.h.
Nektar::FilterOffsetPhase::FilterOffsetPhase | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const std::weak_ptr< SolverUtils::EquationSystem > & | pEquation, | ||
const ParamMap & | pParams | ||
) |
Definition at line 44 of file FilterOffsetPhase.cpp.
References ASSERTL0, Nektar::LibUtilities::FieldIO::CreateDefault(), Nektar::LibUtilities::Equation::Evaluate(), m_fld, m_index, m_outputFile, m_outputFrequency, m_outputIndex, Nektar::SolverUtils::Filter::m_session, and meanV.
|
override |
Definition at line 78 of file FilterOffsetPhase.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 53 of file FilterOffsetPhase.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 145 of file FilterOffsetPhase.cpp.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 82 of file FilterOffsetPhase.cpp.
References m_index, m_outputIndex, oldV, and v_Update().
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 152 of file FilterOffsetPhase.cpp.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 94 of file FilterOffsetPhase.cpp.
References m_fld, m_index, m_outputFile, m_outputFrequency, m_outputIndex, meanV, and oldV.
Referenced by v_Initialise().
|
friend |
Definition at line 1 of file FilterOffsetPhase.h.
|
static |
Name of the class.
Definition at line 65 of file FilterOffsetPhase.h.
|
private |
Definition at line 90 of file FilterOffsetPhase.h.
|
private |
Definition at line 91 of file FilterOffsetPhase.h.
Referenced by FilterOffsetPhase(), and v_Update().
|
private |
Definition at line 86 of file FilterOffsetPhase.h.
Referenced by FilterOffsetPhase(), v_Initialise(), and v_Update().
|
private |
Definition at line 89 of file FilterOffsetPhase.h.
Referenced by FilterOffsetPhase(), and v_Update().
|
private |
Definition at line 88 of file FilterOffsetPhase.h.
Referenced by FilterOffsetPhase(), and v_Update().
|
private |
Definition at line 87 of file FilterOffsetPhase.h.
Referenced by FilterOffsetPhase(), v_Initialise(), and v_Update().
|
private |
Definition at line 92 of file FilterOffsetPhase.h.
Referenced by FilterOffsetPhase(), and v_Update().
Definition at line 94 of file FilterOffsetPhase.h.
Referenced by v_Initialise(), and v_Update().