Nektar++
|
#include <FilterHistoryPoints.h>
Public Member Functions | |
SOLVER_UTILS_EXPORT | FilterHistoryPoints (const LibUtilities::SessionReaderSharedPtr &pSession, const ParamMap &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. More... | |
Static Public Attributes | |
static std::string | className = GetFilterFactory().RegisterCreatorFunction("HistoryPoints", FilterHistoryPoints::create) |
Name of the class. More... | |
Protected Member Functions | |
virtual SOLVER_UTILS_EXPORT void | v_Initialise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual SOLVER_UTILS_EXPORT void | v_Update (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual SOLVER_UTILS_EXPORT void | v_Finalise (const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) |
virtual SOLVER_UTILS_EXPORT bool | v_IsTimeDependent () |
Protected Attributes | |
SpatialDomains::PointGeomVector | m_historyPoints |
unsigned int | m_index |
unsigned int | m_outputFrequency |
unsigned int | m_outputPlane |
plane to take history point from if using a homogeneous1D expansion More... | |
Array< OneD, int > | m_planeIDs |
bool | m_isHomogeneous1D |
bool | m_waveSpace |
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 |
Protected Attributes inherited from Nektar::SolverUtils::Filter | |
LibUtilities::SessionReaderSharedPtr | m_session |
Friends | |
class | MemoryManager< FilterHistoryPoints > |
Additional Inherited Members | |
Public Types inherited from Nektar::SolverUtils::Filter | |
typedef std::map< std::string, std::string > | ParamMap |
Definition at line 46 of file FilterHistoryPoints.h.
Nektar::SolverUtils::FilterHistoryPoints::FilterHistoryPoints | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const ParamMap & | pParams | ||
) |
Definition at line 54 of file FilterHistoryPoints.cpp.
References ASSERTL0, Nektar::LibUtilities::Equation::Evaluate(), m_historyPointStream, m_index, m_isHomogeneous1D, m_outputFile, m_outputFrequency, m_outputPlane, Nektar::SolverUtils::Filter::m_session, and m_waveSpace.
Nektar::SolverUtils::FilterHistoryPoints::~FilterHistoryPoints | ( | ) |
Definition at line 129 of file FilterHistoryPoints.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 52 of file FilterHistoryPoints.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 592 of file FilterHistoryPoints.cpp.
References m_outputStream.
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 138 of file FilterHistoryPoints.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, CellMLToNektar.pycml::format, Nektar::NekConstants::kGeomFactorsTol, Nektar::NekConstants::kNekZeroTol, Nektar::NekConstants::kVertexTheSameDouble, m_historyList, m_historyLocalPointMap, m_historyPoints, m_historyPointStream, m_index, m_isHomogeneous1D, m_outputFile, m_outputPlane, m_outputStream, m_planeIDs, Nektar::SolverUtils::Filter::m_session, m_waveSpace, Nektar::LibUtilities::ReduceMax, Nektar::LibUtilities::ReduceMin, v_Update(), and Vmath::Vcopy().
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 604 of file FilterHistoryPoints.cpp.
|
protectedvirtual |
Implements Nektar::SolverUtils::Filter.
Reimplemented in Nektar::FilterCellHistoryPoints.
Definition at line 426 of file FilterHistoryPoints.cpp.
References ASSERTL0, CellMLToNektar.pycml::format, Nektar::iterator, m_historyList, m_historyLocalPointMap, m_historyPoints, m_index, m_isHomogeneous1D, m_outputFrequency, m_outputStream, m_planeIDs, m_waveSpace, Nektar::LibUtilities::ReduceSum, and Vmath::Vcopy().
Referenced by v_Initialise().
|
friend |
Definition at line 49 of file FilterHistoryPoints.h.
|
static |
Name of the class.
Definition at line 61 of file FilterHistoryPoints.h.
|
protected |
Definition at line 92 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), v_Update(), and Nektar::FilterCellHistoryPoints::v_Update().
|
protected |
Definition at line 93 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), v_Update(), and Nektar::FilterCellHistoryPoints::v_Update().
|
protected |
Definition at line 80 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), v_Update(), and Nektar::FilterCellHistoryPoints::v_Update().
|
protected |
Definition at line 90 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), and v_Initialise().
|
protected |
Definition at line 81 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Initialise(), v_Update(), and Nektar::FilterCellHistoryPoints::v_Update().
|
protected |
Definition at line 86 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Initialise(), v_Update(), and Nektar::FilterCellHistoryPoints::v_Update().
|
protected |
Definition at line 88 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), and v_Initialise().
|
protected |
Definition at line 82 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Update(), and Nektar::FilterCellHistoryPoints::v_Update().
|
protected |
plane to take history point from if using a homogeneous1D expansion
Definition at line 84 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Initialise(), and Nektar::FilterCellHistoryPoints::v_Update().
|
protected |
Definition at line 89 of file FilterHistoryPoints.h.
Referenced by v_Finalise(), v_Initialise(), v_Update(), and Nektar::FilterCellHistoryPoints::v_Update().
Definition at line 85 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), and v_Update().
|
protected |
Definition at line 87 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Initialise(), and v_Update().