Nektar++
|
#include <PolyEPoints.h>
Public Types | |
typedef Points< NekDouble > | PointsBaseType |
Public Types inherited from Nektar::LibUtilities::Points< NekDouble > | |
typedef NekDouble | DataType |
typedef boost::shared_ptr< NekMatrix< DataType > > | MatrixSharedPtrType |
Public Member Functions | |
virtual | ~PolyEPoints () |
const boost::shared_ptr< NekMatrix< NekDouble > > | GetI (const PointsKey &pkey) |
const boost::shared_ptr< NekMatrix< NekDouble > > | GetI (const Array< OneD, const NekDouble > &x) |
const boost::shared_ptr< NekMatrix< NekDouble > > | GetI (unsigned int numpoints, const Array< OneD, const NekDouble > &x) |
PolyEPoints (const PointsKey &key) | |
Public Member Functions inherited from Nektar::LibUtilities::Points< NekDouble > | |
virtual | ~Points () |
virtual 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 |
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 |
virtual const MatrixSharedPtrType | GetI (const Array< OneD, const DataType > &x, const Array< OneD, const DataType > &y) |
virtual const MatrixSharedPtrType | GetI (const Array< OneD, const DataType > &x, const Array< OneD, const DataType > &y, const Array< OneD, const DataType > &z) |
virtual const MatrixSharedPtrType | GetGalerkinProjection (const PointsKey &pkey) |
Static Public Member Functions | |
static boost::shared_ptr< PointsBaseType > | Create (const PointsKey &key) |
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... | |
void | CalculatePoints () |
void | CalculateWeights () |
void | CalculateDerivMatrix () |
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) |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::LibUtilities::Points< NekDouble > | |
Points (const PointsKey &key) | |
Protected Attributes inherited from Nektar::LibUtilities::Points< NekDouble > | |
PointsKey | m_pointsKey |
Array< OneD, DataType > | m_points [3] |
Array< OneD, DataType > | m_weights |
MatrixSharedPtrType | m_derivmatrix [3] |
NekManager< PointsKey, NekMatrix< DataType >, PointsKey::opLess > | m_InterpManager |
NekManager< PointsKey, NekMatrix< DataType >, PointsKey::opLess > | m_GalerkinProjectionManager |
Definition at line 55 of file PolyEPoints.h.
Definition at line 58 of file PolyEPoints.h.
|
inlinevirtual |
Definition at line 60 of file PolyEPoints.h.
|
inline |
Definition at line 70 of file PolyEPoints.h.
|
inlineprivate |
Default constructor should not be called except by Create method.
Definition at line 76 of file PolyEPoints.h.
|
inlineprivate |
Copy constructor should not be called.
Definition at line 81 of file PolyEPoints.h.
|
privatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 95 of file PolyEPoints.cpp.
References Nektar::LibUtilities::Points< NekDouble >::CalculateDerivMatrix(), Nektar::LibUtilities::PointsKey::GetNumPoints(), LagrangePolyDeriv(), Nektar::LibUtilities::Points< NekDouble >::m_derivmatrix, Nektar::LibUtilities::Points< NekDouble >::m_points, and Nektar::LibUtilities::Points< NekDouble >::m_pointsKey.
|
private |
Definition at line 109 of file PolyEPoints.cpp.
References Nektar::LibUtilities::PointsKey::GetNumPoints(), LagrangePoly(), Nektar::LibUtilities::Points< NekDouble >::m_points, Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, and npts.
Referenced by GetI().
|
privatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 46 of file PolyEPoints.cpp.
References Nektar::LibUtilities::Points< NekDouble >::CalculatePoints(), Nektar::LibUtilities::PointsKey::GetNumPoints(), Nektar::LibUtilities::Points< NekDouble >::m_points, Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, and npts.
|
privatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 66 of file PolyEPoints.cpp.
References Nektar::LibUtilities::Points< NekDouble >::CalculateWeights(), 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, npts, and Nektar::LibUtilities::PointsManager().
|
static |
Definition at line 120 of file PolyEPoints.cpp.
|
virtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 129 of file PolyEPoints.cpp.
References ASSERTL0, Nektar::LibUtilities::PointsKey::GetNumPoints(), Nektar::LibUtilities::PointsKey::GetPointsDim(), and Nektar::LibUtilities::PointsManager().
Referenced by GetI().
|
virtual |
Delegate to function below.
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 141 of file PolyEPoints.cpp.
References GetI().
|
virtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 149 of file PolyEPoints.cpp.
References CalculateInterpMatrix(), Nektar::LibUtilities::Points< NekDouble >::GetNumPoints(), and Nektar::LibUtilities::Points< NekDouble >::GetTotNumPoints().
|
private |
Definition at line 163 of file PolyEPoints.cpp.
References LagrangePoly(), and npts.
|
private |
Definition at line 176 of file PolyEPoints.cpp.
References npts.
Referenced by CalculateInterpMatrix(), CalculateWeights(), and LagrangeInterpolant().
|
private |
Definition at line 193 of file PolyEPoints.cpp.
References npts.
Referenced by CalculateDerivMatrix().