|
Nektar++
|
#include <PolyEPoints.h>
Public Types | |
| typedef Points< NekDouble > | PointsBaseType |
Public Types inherited from Nektar::LibUtilities::Points< NekDouble > | |
| typedef NekDouble | DataType |
| typedef std::shared_ptr< NekMatrix< DataType > > | MatrixSharedPtrType |
Public Member Functions | |
| virtual | ~PolyEPoints () |
| PolyEPoints (const PointsKey &key) | |
Public Member Functions inherited from Nektar::LibUtilities::Points< NekDouble > | |
| virtual | ~Points () |
| void | Initialize (void) |
| unsigned int | GetPointsDim () const |
| unsigned int | GetNumPoints () const |
| unsigned int | GetTotNumPoints () const |
| PointsType | GetPointsType () const |
| const Array< OneD, const DataType > & | GetZ () const |
| const Array< OneD, const DataType > & | GetW () const |
| void | GetZW (Array< OneD, const DataType > &z, Array< OneD, const DataType > &w) const |
| const Array< OneD, const NekDouble > & | GetBaryWeights () const |
| void | GetPoints (Array< OneD, const DataType > &x) const |
| void | GetPoints (Array< OneD, const DataType > &x, Array< OneD, const DataType > &y) const |
| void | GetPoints (Array< OneD, const DataType > &x, Array< OneD, const DataType > &y, Array< OneD, const DataType > &z) const |
| const MatrixSharedPtrType & | GetD (Direction dir=xDir) const |
| const MatrixSharedPtrType | GetI (const PointsKey &key) |
| const MatrixSharedPtrType | GetI (const Array< OneD, const DataType > &x) |
| const MatrixSharedPtrType | GetI (unsigned int uint, const Array< OneD, const DataType > &x) |
| const MatrixSharedPtrType | GetI (const Array< OneD, const DataType > &x, const Array< OneD, const DataType > &y) |
| const MatrixSharedPtrType | GetI (const Array< OneD, const DataType > &x, const Array< OneD, const DataType > &y, const Array< OneD, const DataType > &z) |
| const MatrixSharedPtrType | GetGalerkinProjection (const PointsKey &pkey) |
Static Public Member Functions | |
| static std::shared_ptr< PointsBaseType > | Create (const PointsKey &key) |
Protected Member Functions | |
| virtual const std::shared_ptr< NekMatrix< NekDouble > > | v_GetI (const PointsKey &pkey) override |
| virtual const std::shared_ptr< NekMatrix< NekDouble > > | v_GetI (const Array< OneD, const NekDouble > &x) override |
| virtual const std::shared_ptr< NekMatrix< NekDouble > > | v_GetI (unsigned int numpoints, const Array< OneD, const NekDouble > &x) override |
Protected Member Functions inherited from Nektar::LibUtilities::Points< NekDouble > | |
| virtual void | v_Initialize (void) |
| virtual void | v_CalculateBaryWeights () |
| This function calculates the barycentric weights used for enhanced interpolation speed. More... | |
| Points (const PointsKey &key) | |
| virtual const MatrixSharedPtrType | v_GetI (const Array< OneD, const DataType > &x, const Array< OneD, const DataType > &y) |
| virtual const MatrixSharedPtrType | v_GetI (const Array< OneD, const DataType > &x, const Array< OneD, const DataType > &y, const Array< OneD, const DataType > &z) |
| virtual const MatrixSharedPtrType | v_GetGalerkinProjection (const PointsKey &pkey) |
Private Member Functions | |
| PolyEPoints () | |
| Default constructor should not be called except by Create method. More... | |
| PolyEPoints (const PolyEPoints &points) | |
| Copy constructor should not be called. More... | |
| virtual void | v_CalculatePoints () override |
| virtual void | v_CalculateWeights () override |
| virtual void | v_CalculateDerivMatrix () override |
| void | CalculateInterpMatrix (unsigned int npts, const Array< OneD, const NekDouble > &xpoints, Array< OneD, NekDouble > &interp) |
| NekDouble | LagrangeInterpolant (NekDouble x, int npts, const Array< OneD, const NekDouble > &xpts, const Array< OneD, const NekDouble > &funcvals) |
| NekDouble | LagrangePoly (NekDouble x, int pt, int npts, const Array< OneD, const NekDouble > &xpts) |
| NekDouble | LagrangePolyDeriv (NekDouble x, int pt, int npts, const Array< OneD, const NekDouble > &xpts) |
Static Private Attributes | |
| static bool | initPointsManager [] |
Additional Inherited Members | |
Protected Attributes inherited from Nektar::LibUtilities::Points< NekDouble > | |
| PointsKey | m_pointsKey |
| Points type for this points distributions. More... | |
| Array< OneD, DataType > | m_points [3] |
| Storage for the point locations, allowing for up to a 3D points storage. More... | |
| Array< OneD, DataType > | m_weights |
| Quadrature weights for the weights. More... | |
| Array< OneD, DataType > | m_bcweights |
| Barycentric weights. More... | |
| MatrixSharedPtrType | m_derivmatrix [3] |
| Derivative matrices. More... | |
| NekManager< PointsKey, NekMatrix< DataType >, PointsKey::opLess > | m_InterpManager |
| NekManager< PointsKey, NekMatrix< DataType >, PointsKey::opLess > | m_GalerkinProjectionManager |
Definition at line 51 of file PolyEPoints.h.
Definition at line 54 of file PolyEPoints.h.
|
inlinevirtual |
Definition at line 56 of file PolyEPoints.h.
|
inline |
Definition at line 63 of file PolyEPoints.h.
|
inlineprivate |
Default constructor should not be called except by Create method.
Definition at line 79 of file PolyEPoints.h.
|
inlineprivate |
Copy constructor should not be called.
Definition at line 84 of file PolyEPoints.h.
|
private |
Definition at line 112 of file PolyEPoints.cpp.
References Nektar::LibUtilities::PointsKey::GetNumPoints(), LagrangePoly(), Nektar::LibUtilities::Points< NekDouble >::m_points, and Nektar::LibUtilities::Points< NekDouble >::m_pointsKey.
Referenced by v_GetI().
|
static |
Definition at line 126 of file PolyEPoints.cpp.
|
private |
|
private |
Definition at line 189 of file PolyEPoints.cpp.
Referenced by CalculateInterpMatrix(), LagrangeInterpolant(), and v_CalculateWeights().
|
private |
|
overrideprivatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 97 of file PolyEPoints.cpp.
References Nektar::LibUtilities::PointsKey::GetNumPoints(), LagrangePolyDeriv(), Nektar::LibUtilities::Points< NekDouble >::m_derivmatrix, Nektar::LibUtilities::Points< NekDouble >::m_points, Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, and Nektar::LibUtilities::Points< NekDouble >::v_CalculateDerivMatrix().
|
overrideprivatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 48 of file PolyEPoints.cpp.
References Nektar::LibUtilities::PointsKey::GetNumPoints(), Nektar::LibUtilities::Points< NekDouble >::m_points, Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, and Nektar::LibUtilities::Points< NekDouble >::v_CalculatePoints().
|
overrideprivatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 68 of file PolyEPoints.cpp.
References Nektar::LibUtilities::eGaussLobattoLegendre, Nektar::LibUtilities::PointsKey::GetNumPoints(), LagrangePoly(), Nektar::LibUtilities::Points< NekDouble >::m_points, Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, Nektar::LibUtilities::Points< NekDouble >::m_weights, Nektar::LibUtilities::PointsManager(), and Nektar::LibUtilities::Points< NekDouble >::v_CalculateWeights().
|
overrideprotectedvirtual |
Delegate to function below.
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 151 of file PolyEPoints.cpp.
References Nektar::LibUtilities::Points< NekDouble >::GetI().
|
overrideprotectedvirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 137 of file PolyEPoints.cpp.
References ASSERTL0, Nektar::LibUtilities::Points< NekDouble >::GetI(), Nektar::LibUtilities::PointsKey::GetNumPoints(), Nektar::LibUtilities::PointsKey::GetPointsDim(), and Nektar::LibUtilities::PointsManager().
|
overrideprotectedvirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 160 of file PolyEPoints.cpp.
References CalculateInterpMatrix(), Nektar::LibUtilities::Points< NekDouble >::GetNumPoints(), and Nektar::LibUtilities::Points< NekDouble >::GetTotNumPoints().
|
staticprivate |
Definition at line 76 of file PolyEPoints.h.