Nektar++
|
#include <FilterHistoryPoints.h>
Public Member Functions | |
SOLVER_UTILS_EXPORT | FilterHistoryPoints (const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< EquationSystem > &pEquation, const ParamMap &pParams) |
SOLVER_UTILS_EXPORT | ~FilterHistoryPoints () 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 FilterSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const std::weak_ptr< EquationSystem > &pEquation, const std::map< std::string, std::string > &pParams) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of the class. More... | |
Protected Attributes | |
Array< OneD, Array< OneD, const NekDouble > > | m_historyPoints |
size_t | m_historyPointsSize = 0 |
unsigned int | m_index = 0 |
unsigned int | m_outputFrequency |
int | m_outputPlane |
plane to take history point from if using a homogeneous1D expansion More... | |
std::vector< int > | m_planeIDs |
bool | m_isHomogeneous1D |
bool | m_waveSpace |
std::string | m_outputFile |
std::ofstream | m_outputStream |
std::stringstream | m_historyPointStream |
std::list< std::tuple< Array< OneD, const NekDouble >, Array< OneD, const NekDouble >, int, int > > | m_historyList |
std::map< LibUtilities::PtsType, Array< OneD, NekDouble > > | m_pointDatMap |
std::map< LibUtilities::PtsType, Array< OneD, int > > | m_pointNumMap |
unsigned int | m_outputIndex = 0 |
bool | m_outputOneFile |
bool | m_adaptive |
Protected Attributes inherited from Nektar::SolverUtils::Filter | |
LibUtilities::SessionReaderSharedPtr | m_session |
const std::weak_ptr< EquationSystem > | m_equ |
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 45 of file FilterHistoryPoints.h.
Nektar::SolverUtils::FilterHistoryPoints::FilterHistoryPoints | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const std::weak_ptr< EquationSystem > & | pEquation, | ||
const ParamMap & | pParams | ||
) |
Definition at line 53 of file FilterHistoryPoints.cpp.
References ASSERTL0, Nektar::LibUtilities::ePtsBox, Nektar::LibUtilities::ePtsFile, Nektar::LibUtilities::ePtsLine, Nektar::LibUtilities::ePtsPlane, Nektar::LibUtilities::Equation::Evaluate(), Nektar::ParseUtils::GenerateVector(), m_historyPointStream, m_isHomogeneous1D, m_outputFile, m_outputFrequency, m_outputOneFile, m_outputPlane, m_pointDatMap, m_pointNumMap, Nektar::SolverUtils::Filter::m_session, and m_waveSpace.
|
override |
Definition at line 231 of file FilterHistoryPoints.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file FilterHistoryPoints.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
protected |
Definition at line 235 of file FilterHistoryPoints.cpp.
References Nektar::LibUtilities::ePtsBox, Nektar::LibUtilities::ePtsFile, Nektar::LibUtilities::ePtsLine, Nektar::LibUtilities::ePtsPlane, m_historyPointStream, m_pointDatMap, and m_pointNumMap.
Referenced by v_Initialise().
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 685 of file FilterHistoryPoints.cpp.
References m_outputOneFile, and m_outputStream.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 302 of file FilterHistoryPoints.cpp.
References ASSERTL0, GetPoint(), Nektar::NekConstants::kGeomFactorsTol, Nektar::NekConstants::kVertexTheSameDouble, m_adaptive, m_historyList, m_historyPoints, m_historyPointsSize, m_historyPointStream, m_isHomogeneous1D, m_outputPlane, m_planeIDs, Nektar::SolverUtils::Filter::m_session, m_waveSpace, Nektar::LibUtilities::ReduceMax, and v_Update().
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Definition at line 698 of file FilterHistoryPoints.cpp.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::Filter.
Reimplemented in Nektar::FilterCellHistoryPoints.
Definition at line 467 of file FilterHistoryPoints.cpp.
References ASSERTL0, m_historyList, m_historyPointsSize, m_index, m_isHomogeneous1D, m_outputFrequency, m_planeIDs, m_waveSpace, Nektar::LibUtilities::ReduceSum, and v_WriteData().
Referenced by v_Initialise().
|
protected |
Definition at line 594 of file FilterHistoryPoints.cpp.
References CellMLToNektar.pycml::format, m_adaptive, m_historyPoints, m_index, m_isHomogeneous1D, m_outputFile, m_outputIndex, m_outputOneFile, m_outputStream, Nektar::SolverUtils::Filter::m_session, and m_waveSpace.
Referenced by v_Update().
|
friend |
Definition at line 1 of file FilterHistoryPoints.h.
|
static |
Name of the class.
Definition at line 63 of file FilterHistoryPoints.h.
|
protected |
Definition at line 114 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), v_WriteData(), and Nektar::FilterCellHistoryPoints::v_WriteData().
|
protected |
Definition at line 109 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), v_Update(), and Nektar::FilterCellHistoryPoints::v_Update().
|
protected |
Definition at line 88 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), Nektar::FilterCellHistoryPoints::v_Update(), v_WriteData(), and Nektar::FilterCellHistoryPoints::v_WriteData().
|
protected |
Definition at line 90 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), and v_Update().
|
protected |
Definition at line 100 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), GetPoint(), and v_Initialise().
|
protected |
Definition at line 91 of file FilterHistoryPoints.h.
Referenced by v_Update(), Nektar::FilterCellHistoryPoints::v_Update(), v_WriteData(), and Nektar::FilterCellHistoryPoints::v_WriteData().
|
protected |
Definition at line 96 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Initialise(), v_Update(), Nektar::FilterCellHistoryPoints::v_Update(), v_WriteData(), and Nektar::FilterCellHistoryPoints::v_WriteData().
|
protected |
Definition at line 98 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_WriteData(), and Nektar::FilterCellHistoryPoints::v_WriteData().
|
protected |
Definition at line 92 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Update(), and Nektar::FilterCellHistoryPoints::v_Update().
|
protected |
Definition at line 112 of file FilterHistoryPoints.h.
Referenced by v_WriteData(), and Nektar::FilterCellHistoryPoints::v_WriteData().
|
protected |
Definition at line 113 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Finalise(), v_WriteData(), and Nektar::FilterCellHistoryPoints::v_WriteData().
|
protected |
plane to take history point from if using a homogeneous1D expansion
Definition at line 94 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Initialise(), and Nektar::FilterCellHistoryPoints::v_Update().
|
protected |
Definition at line 99 of file FilterHistoryPoints.h.
Referenced by v_Finalise(), v_WriteData(), and Nektar::FilterCellHistoryPoints::v_WriteData().
|
protected |
Definition at line 95 of file FilterHistoryPoints.h.
Referenced by v_Initialise(), and v_Update().
|
protected |
Definition at line 110 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), and GetPoint().
|
protected |
Definition at line 111 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), and GetPoint().
|
protected |
Definition at line 97 of file FilterHistoryPoints.h.
Referenced by FilterHistoryPoints(), v_Initialise(), v_Update(), v_WriteData(), and Nektar::FilterCellHistoryPoints::v_WriteData().