Nektar++
|
#include <FilterEnergyBase.h>
Public Member Functions | |
SOLVER_UTILS_EXPORT | FilterEnergyBase (const LibUtilities::SessionReaderSharedPtr &pSession, const ParamMap &pParams, const bool pConstDensity=true) |
SOLVER_UTILS_EXPORT | ~FilterEnergyBase () |
Public Member Functions inherited from Nektar::SolverUtils::Filter | |
SOLVER_UTILS_EXPORT | Filter (const LibUtilities::SessionReaderSharedPtr &pSession) |
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 () |
Protected Member Functions | |
virtual SOLVER_UTILS_EXPORT void | v_Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time) |
virtual SOLVER_UTILS_EXPORT void | v_Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time) |
virtual SOLVER_UTILS_EXPORT void | v_Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const NekDouble &time) |
virtual SOLVER_UTILS_EXPORT bool | v_IsTimeDependent () |
virtual SOLVER_UTILS_EXPORT void | v_GetVelocity (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pField, const int i, Array< OneD, NekDouble > &velocity) |
virtual SOLVER_UTILS_EXPORT Array< OneD, NekDouble > | v_GetDensity (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFld) |
Private Attributes | |
unsigned int | m_index |
unsigned int | m_outputFrequency |
std::ofstream | m_outFile |
bool | m_homogeneous |
NekDouble | m_homogeneousLength |
NekDouble | m_area |
LibUtilities::CommSharedPtr | m_comm |
Array< OneD, unsigned int > | m_planes |
bool | m_constDensity |
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 |
Definition at line 45 of file FilterEnergyBase.h.
Nektar::SolverUtils::FilterEnergyBase::FilterEnergyBase | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const ParamMap & | pParams, | ||
const bool | pConstDensity = true |
||
) |
Definition at line 44 of file FilterEnergyBase.cpp.
References ASSERTL0, m_comm, m_homogeneousLength, m_outFile, m_outputFrequency, and Nektar::SolverUtils::Filter::m_session.
Nektar::SolverUtils::FilterEnergyBase::~FilterEnergyBase | ( | ) |
Definition at line 92 of file FilterEnergyBase.cpp.
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 245 of file FilterEnergyBase.cpp.
References m_outFile.
|
protectedvirtual |
Reimplemented in Nektar::FilterEnergy.
Definition at line 265 of file FilterEnergyBase.cpp.
References ASSERTL0.
Referenced by v_Update().
|
protectedvirtual |
Reimplemented in Nektar::FilterEnergy, and Nektar::FilterEnergy.
Definition at line 257 of file FilterEnergyBase.cpp.
References ASSERTL0.
Referenced by v_Update().
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 97 of file FilterEnergyBase.cpp.
References ASSERTL0, Nektar::MultiRegions::e3DH1D, Nektar::MultiRegions::e3DH2D, m_area, m_homogeneous, m_homogeneousLength, m_index, m_planes, and v_Update().
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 252 of file FilterEnergyBase.cpp.
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 136 of file FilterEnergyBase.cpp.
References m_area, m_comm, m_constDensity, m_homogeneous, m_index, m_outFile, m_outputFrequency, v_GetDensity(), v_GetVelocity(), Vmath::Vmul(), Vmath::Vsub(), Vmath::Vvtvp(), and Vmath::Zero().
Referenced by v_Initialise().
|
private |
Definition at line 79 of file FilterEnergyBase.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 80 of file FilterEnergyBase.h.
Referenced by FilterEnergyBase(), and v_Update().
|
private |
Definition at line 82 of file FilterEnergyBase.h.
Referenced by v_Update().
|
private |
Definition at line 77 of file FilterEnergyBase.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 78 of file FilterEnergyBase.h.
Referenced by FilterEnergyBase(), and v_Initialise().
|
private |
Definition at line 74 of file FilterEnergyBase.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 76 of file FilterEnergyBase.h.
Referenced by FilterEnergyBase(), v_Finalise(), and v_Update().
|
private |
Definition at line 75 of file FilterEnergyBase.h.
Referenced by FilterEnergyBase(), and v_Update().
Definition at line 81 of file FilterEnergyBase.h.
Referenced by v_Initialise().