35#ifndef NEKTAR_SOLVERUTILS_FILTERS_FILTERLAGRANGIANPOINTS_H
36#define NEKTAR_SOLVERUTILS_FILTERS_FILTERLAGRANGIANPOINTS_H
57 const std::vector<int> &Np,
58 const std::vector<NekDouble> &Box,
59 std::vector<std::string> extraVars)
63 rank, dim, intOrder, idOffset, dt, Np, Box, extraVars);
69 const std::vector<NekDouble> &Box,
70 std::vector<std::string> extraVars);
78 std::map<std::string, NekDouble> ¶ms)
override;
104 const std::shared_ptr<EquationSystem> &pEquation,
105 const std::map<std::string, std::string> &pParams)
109 pSession, pEquation, pParams);
117 const std::shared_ptr<EquationSystem> &pEquation,
118 const std::map<std::string, std::string> &pParams);
153 m_frameVel[it.first] = it.second->Evaluate(0, 0, 0, time);
157 m_frameDisp[it.first] = it.second->Evaluate(0, 0, 0, time);
#define SOLVER_UTILS_EXPORT
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
static FilterSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const std::shared_ptr< EquationSystem > &pEquation, const std::map< std::string, std::string > &pParams)
void v_Update(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) override
std::vector< NekDouble > m_box
unsigned int m_outputSampleFrequency
std::ofstream m_ofstreamSamplePoints
unsigned int m_outputFrequency
static std::string className
void ExtraPhysicsVars(std::vector< std::string > &extraVars)
SOLVER_UTILS_EXPORT ~FilterLagrangianPoints() override
void OutputSamplePoints(NekDouble time)
struct Nektar::SolverUtils::FilterLagrangianPoints::MovingFrame m_frame
std::vector< std::string > m_defaultValues
void OutputStatPoints(NekDouble time)
std::map< std::string, std::string > v_params
void v_Finalise(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) override
SOLVER_UTILS_EXPORT void v_Initialise(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, const NekDouble &time) override
SOLVER_UTILS_EXPORT FilterLagrangianPoints(const LibUtilities::SessionReaderSharedPtr &pSession, const std::shared_ptr< EquationSystem > &pEquation, const std::map< std::string, std::string > &pParams)
void v_ModifyVelocity(Array< OneD, NekDouble > gcoords, NekDouble time, Array< OneD, NekDouble > vel) override
bool v_IsTimeDependent() override
std::set< int > m_samplePointIDs
void GetPhysicsData(const Array< OneD, const MultiRegions::ExpListSharedPtr > &pFields, std::vector< Array< OneD, NekDouble > > &PhysicsData)
static StationaryPointsSharedPtr create(int rank, int dim, int intOrder, int idOffset, NekDouble dt, const std::vector< int > &Np, const std::vector< NekDouble > &Box, std::vector< std::string > extraVars)
Creates an instance of this class.
std::vector< std::string > m_extraPhysVars
~StatLagrangianPoints() override
StatLagrangianPoints(int rank, int dim, int intOrder, int idOffset, NekDouble dt, const std::vector< int > &Np, const std::vector< NekDouble > &Box, std::vector< std::string > extraVars)
void v_GetCoords(int pid, Array< OneD, NekDouble > &gcoords) override
void v_SetPhysics(int pid, const Array< OneD, NekDouble > &data) override
void v_OutputData(std::string filename, bool verbose, std::map< std::string, NekDouble > ¶ms) override
void v_ReSize(int Np) override
void v_TimeAdvance(int order) override
void v_SetCoords(int pid, const Array< OneD, NekDouble > &gcoords) override
void v_GetPhysics(int pid, Array< OneD, NekDouble > &data) override
Array< OneD, Array< OneD, NekDouble > > m_extraPhysics
Array< OneD, Array< OneD, Array< OneD, NekDouble > > > m_velocity
void v_AssignPoint(int id, int pid, const Array< OneD, NekDouble > &gcoords) override
Array< OneD, Array< OneD, Array< OneD, NekDouble > > > m_coords
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< StationaryPoints > StationaryPointsSharedPtr
std::shared_ptr< Filter > FilterSharedPtr
A shared pointer to a Driver object.
std::map< int, LibUtilities::EquationSharedPtr > m_frameVelFunction
std::map< int, NekDouble > m_frameDisp
std::map< int, NekDouble > m_frameVel
void Update(NekDouble time)
std::map< int, LibUtilities::EquationSharedPtr > m_frameDispFunction