Nektar++
|
#include <FilterLagrangianPoints.h>
Public Member Functions | |
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) | |
~StatLagrangianPoints () override | |
Public Member Functions inherited from Nektar::SolverUtils::StationaryPoints | |
virtual | ~StationaryPoints ()=default |
SOLVER_UTILS_EXPORT void | OutputData (std::string filename, bool verbose, std::map< std::string, NekDouble > ¶ms) |
void | ReSize (int Np) |
void | AssignPoint (int id, int pid, const Array< OneD, NekDouble > &gcoords) |
void | GetCoordsByPID (int pid, Array< OneD, NekDouble > &gcoords) |
void | SetCoordsByPID (int pid, const Array< OneD, NekDouble > &gcoords) |
void | GetPhysicsByPID (int pid, Array< OneD, NekDouble > &data) |
void | SetPhysicsByPID (int pid, const Array< OneD, NekDouble > &data) |
void | GetCoords (int pid, Array< OneD, NekDouble > &gcoords) |
void | SetCoords (int pid, const Array< OneD, NekDouble > &gcoords) |
void | GetPhysics (int pid, Array< OneD, NekDouble > &data) |
void | SetPhysics (int pid, const Array< OneD, NekDouble > &data) |
void | TimeAdvance (int order) |
int | GetTotPoints () |
int | GetDim () |
int | LocalToGlobal (int id) |
int | GlobalToLocal (int id) |
Static Public Member Functions | |
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. More... | |
Protected Member Functions | |
void | v_OutputData (std::string filename, bool verbose, std::map< std::string, NekDouble > ¶ms) override |
void | v_TimeAdvance (int order) override |
void | v_GetCoords (int pid, Array< OneD, NekDouble > &gcoords) override |
void | v_SetCoords (int pid, const Array< OneD, NekDouble > &gcoords) override |
void | v_GetPhysics (int pid, Array< OneD, NekDouble > &data) override |
void | v_SetPhysics (int pid, const Array< OneD, NekDouble > &data) override |
void | v_ReSize (int Np) override |
void | v_AssignPoint (int id, int pid, const Array< OneD, NekDouble > &gcoords) override |
virtual void | v_OutputData (std::string filename, bool verbose, std::map< std::string, NekDouble > ¶ms)=0 |
virtual void | v_TimeAdvance (int order)=0 |
virtual void | v_GetCoords (int pid, Array< OneD, NekDouble > &gcoords)=0 |
virtual void | v_SetCoords (int pid, const Array< OneD, NekDouble > &gcoords)=0 |
virtual void | v_GetPhysics (int pid, Array< OneD, NekDouble > &data)=0 |
virtual void | v_SetPhysics (int pid, const Array< OneD, NekDouble > &data)=0 |
virtual void | v_ReSize (int Np)=0 |
virtual void | v_AssignPoint (int id, int pid, const Array< OneD, NekDouble > &gcoords) |
Protected Attributes | |
Array< OneD, Array< OneD, Array< OneD, NekDouble > > > | m_coords |
Array< OneD, Array< OneD, Array< OneD, NekDouble > > > | m_velocity |
Array< OneD, Array< OneD, NekDouble > > | m_extraPhysics |
std::vector< std::string > | m_extraPhysVars |
NekDouble | m_dt |
int | m_idOffset |
std::vector< int > | m_N |
int | m_intOrder |
Protected Attributes inherited from Nektar::SolverUtils::StationaryPoints | |
int | m_dim |
int | m_totPts |
std::map< int, int > | m_localIDToGlobal |
std::map< int, int > | m_globalIDToLocal |
Friends | |
class | MemoryManager< StatLagrangianPoints > |
Definition at line 49 of file FilterLagrangianPoints.h.
Nektar::SolverUtils::StatLagrangianPoints::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 | ||
) |
Definition at line 366 of file FilterLagrangianPoints.cpp.
References Nektar::UnitTests::d(), m_coords, Nektar::SolverUtils::StationaryPoints::m_dim, m_dt, m_extraPhysics, m_extraPhysVars, Nektar::SolverUtils::StationaryPoints::m_globalIDToLocal, m_idOffset, m_intOrder, Nektar::SolverUtils::StationaryPoints::m_localIDToGlobal, m_N, Nektar::SolverUtils::StationaryPoints::m_totPts, and m_velocity.
|
inlineoverride |
Definition at line 72 of file FilterLagrangianPoints.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 55 of file FilterLagrangianPoints.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
overrideprotectedvirtual |
Reimplemented from Nektar::SolverUtils::StationaryPoints.
Definition at line 356 of file FilterLagrangianPoints.cpp.
References Nektar::UnitTests::d(), m_coords, Nektar::SolverUtils::StationaryPoints::m_dim, and Nektar::SolverUtils::StationaryPoints::v_AssignPoint().
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::StationaryPoints.
Definition at line 51 of file FilterLagrangianPoints.cpp.
References Nektar::UnitTests::d(), m_coords, and Nektar::SolverUtils::StationaryPoints::m_dim.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::StationaryPoints.
Definition at line 68 of file FilterLagrangianPoints.cpp.
References Nektar::UnitTests::d(), Nektar::SolverUtils::StationaryPoints::m_dim, and m_velocity.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::StationaryPoints.
Definition at line 279 of file FilterLagrangianPoints.cpp.
References Nektar::UnitTests::d(), m_coords, Nektar::SolverUtils::StationaryPoints::m_dim, m_extraPhysics, m_extraPhysVars, m_N, Nektar::SolverUtils::StationaryPoints::m_totPts, m_velocity, Nektar::SolverUtils::OutputTec360_binary(), Vmath::Sadd(), and tinysimd::sqrt().
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::StationaryPoints.
Definition at line 135 of file FilterLagrangianPoints.cpp.
References Nektar::UnitTests::d(), m_coords, Nektar::SolverUtils::StationaryPoints::m_dim, Nektar::SolverUtils::StationaryPoints::m_globalIDToLocal, Nektar::SolverUtils::StationaryPoints::m_localIDToGlobal, Nektar::SolverUtils::StationaryPoints::m_totPts, and m_velocity.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::StationaryPoints.
Definition at line 59 of file FilterLagrangianPoints.cpp.
References Nektar::UnitTests::d(), m_coords, and Nektar::SolverUtils::StationaryPoints::m_dim.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::StationaryPoints.
Definition at line 76 of file FilterLagrangianPoints.cpp.
References Nektar::UnitTests::d(), Nektar::SolverUtils::StationaryPoints::m_dim, m_extraPhysics, m_extraPhysVars, and m_velocity.
|
overrideprotectedvirtual |
Implements Nektar::SolverUtils::StationaryPoints.
Definition at line 104 of file FilterLagrangianPoints.cpp.
References ASSERTL0, Nektar::UnitTests::d(), m_coords, Nektar::SolverUtils::StationaryPoints::m_dim, m_dt, m_intOrder, Nektar::SolverUtils::StationaryPoints::m_totPts, m_velocity, Nektar::SolverUtils::RollOver(), Vmath::Svtvm(), and Vmath::Svtvp().
|
friend |
Definition at line 1 of file FilterLagrangianPoints.h.
|
protected |
Definition at line 87 of file FilterLagrangianPoints.h.
Referenced by StatLagrangianPoints(), v_AssignPoint(), v_GetCoords(), v_OutputData(), v_ReSize(), v_SetCoords(), and v_TimeAdvance().
|
protected |
Definition at line 91 of file FilterLagrangianPoints.h.
Referenced by StatLagrangianPoints(), and v_TimeAdvance().
|
protected |
Definition at line 89 of file FilterLagrangianPoints.h.
Referenced by StatLagrangianPoints(), v_OutputData(), and v_SetPhysics().
|
protected |
Definition at line 90 of file FilterLagrangianPoints.h.
Referenced by StatLagrangianPoints(), v_OutputData(), and v_SetPhysics().
|
protected |
Definition at line 92 of file FilterLagrangianPoints.h.
Referenced by StatLagrangianPoints().
|
protected |
Definition at line 94 of file FilterLagrangianPoints.h.
Referenced by StatLagrangianPoints(), and v_TimeAdvance().
|
protected |
Definition at line 93 of file FilterLagrangianPoints.h.
Referenced by StatLagrangianPoints(), and v_OutputData().
|
protected |
Definition at line 88 of file FilterLagrangianPoints.h.
Referenced by StatLagrangianPoints(), v_GetPhysics(), v_OutputData(), v_ReSize(), v_SetPhysics(), and v_TimeAdvance().