Nektar++
|
#include <FilterHistoryPoints.h>
Public Member Functions | |
SOLVER_UTILS_EXPORT | FilterHistoryPoints (const LibUtilities::SessionReaderSharedPtr &pSession, const std::map< std::string, std::string > &pParams) |
SOLVER_UTILS_EXPORT | ~FilterHistoryPoints () |
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 () |
Static Public Member Functions | |
static FilterSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const std::map< std::string, std::string > &pParams) |
Creates an instance of this class. |
Static Public Attributes | |
static std::string | className = GetFilterFactory().RegisterCreatorFunction("HistoryPoints", FilterHistoryPoints::create) |
Name of the class. |
Protected Member Functions | |
virtual void | v_Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual void | v_Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual void | v_Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual bool | v_IsTimeDependent () |
Private Attributes | |
SpatialDomains::PointGeomVector | m_historyPoints |
unsigned int | m_index |
unsigned int | m_outputFrequency |
unsigned int | m_outputPlane |
bool | m_isHomogeneous1D |
std::string | m_outputFile |
std::ofstream | m_outputStream |
std::stringstream | m_historyPointStream |
std::list< std::pair < SpatialDomains::PointGeomSharedPtr, Array< OneD, NekDouble > > > | m_historyList |
std::map< int, int > | m_historyLocalPointMap |
Friends | |
class | MemoryManager< FilterHistoryPoints > |
Additional Inherited Members | |
Protected Attributes inherited from Nektar::SolverUtils::Filter | |
LibUtilities::SessionReaderSharedPtr | m_session |
Definition at line 45 of file FilterHistoryPoints.h.
Nektar::SolverUtils::FilterHistoryPoints::FilterHistoryPoints | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const std::map< std::string, std::string > & | pParams | ||
) |
Definition at line 49 of file FilterHistoryPoints.cpp.
References ASSERTL0, m_historyPointStream, m_index, m_isHomogeneous1D, m_outputFile, m_outputFrequency, m_outputPlane, and Nektar::SolverUtils::Filter::m_session.
Nektar::SolverUtils::FilterHistoryPoints::~FilterHistoryPoints | ( | ) |
Definition at line 104 of file FilterHistoryPoints.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file FilterHistoryPoints.h.
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 413 of file FilterHistoryPoints.cpp.
References m_outputStream.
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 113 of file FilterHistoryPoints.cpp.
References ASSERTL0, Nektar::NekConstants::kGeomFactorsTol, Nektar::NekConstants::kVertexTheSameDouble, m_historyList, m_historyLocalPointMap, m_historyPoints, m_historyPointStream, m_index, m_isHomogeneous1D, m_outputFile, m_outputPlane, m_outputStream, Nektar::SolverUtils::Filter::m_session, Nektar::LibUtilities::ReduceMax, and v_Update().
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 425 of file FilterHistoryPoints.cpp.
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 320 of file FilterHistoryPoints.cpp.
References Nektar::iterator, m_historyList, m_historyLocalPointMap, m_historyPoints, m_index, m_isHomogeneous1D, m_outputFrequency, m_outputPlane, m_outputStream, and Nektar::LibUtilities::ReduceSum.
Referenced by v_Initialise().
|
friend |
Definition at line 48 of file FilterHistoryPoints.h.
|
static |
Name of the class.
Definition at line 60 of file FilterHistoryPoints.h.
|
private |
Definition at line 83 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 84 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 74 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), and v_Update().
|
private |
Definition at line 81 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), and v_Initialise().
|
private |
Definition at line 75 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Initialise(), and v_Update().
|
private |
Definition at line 78 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Initialise(), and v_Update().
|
private |
Definition at line 79 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), and v_Initialise().
|
private |
Definition at line 76 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), and v_Update().
|
private |
Definition at line 77 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Initialise(), and v_Update().
|
private |
Definition at line 80 of file FilterHistoryPoints.h.
Referenced by v_Finalise(), v_Initialise(), and v_Update().