|
Nektar++
|
#include <FourierPoints.h>
Public Member Functions | |
| virtual | ~FourierPoints () |
| std::shared_ptr< NekMatrix< NekDouble > > | CreateMatrix (const PointsKey &pkey) |
| FourierPoints (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 MatrixSharedPtrType | v_GetI (const PointsKey &pkey) override |
| virtual const MatrixSharedPtrType | v_GetI (const Array< OneD, const NekDouble > &x) override |
| virtual const MatrixSharedPtrType | 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 | |
| FourierPoints () | |
| Default constructor should not be called except by Create method. More... | |
| FourierPoints (const FourierPoints &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 | PeriodicSincFunction (const NekDouble x, const NekDouble h) |
Static Private Attributes | |
| static bool | initPointsManager [] |
Additional Inherited Members | |
Public Types inherited from Nektar::LibUtilities::Points< NekDouble > | |
| typedef NekDouble | DataType |
| typedef std::shared_ptr< NekMatrix< DataType > > | MatrixSharedPtrType |
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 47 of file FourierPoints.h.
|
inlinevirtual |
Definition at line 50 of file FourierPoints.h.
|
inline |
Definition at line 59 of file FourierPoints.h.
References CreateMatrix(), Nektar::LibUtilities::eFourierEvenlySpaced, Nektar::LibUtilities::eGaussGaussChebyshev, Nektar::LibUtilities::eGaussGaussLegendre, Nektar::LibUtilities::eGaussLobattoChebyshev, Nektar::LibUtilities::eGaussLobattoLegendre, Nektar::LibUtilities::eGaussRadauMAlpha0Beta1, Nektar::LibUtilities::eGaussRadauMChebyshev, Nektar::LibUtilities::eGaussRadauMLegendre, Nektar::LibUtilities::eGaussRadauPChebyshev, Nektar::LibUtilities::eGaussRadauPLegendre, Nektar::LibUtilities::ePolyEvenlySpaced, and Nektar::LibUtilities::Points< NekDouble >::m_InterpManager.
|
private |
Default constructor should not be called except by Create method.
|
private |
Copy constructor should not be called.
|
private |
Definition at line 176 of file FourierPoints.cpp.
References Nektar::LibUtilities::PointsKey::GetNumPoints(), Nektar::LibUtilities::Points< NekDouble >::m_points, Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, and PeriodicSincFunction().
Referenced by v_GetI().
|
static |
Definition at line 120 of file FourierPoints.cpp.
| std::shared_ptr< NekMatrix< NekDouble > > Nektar::LibUtilities::FourierPoints::CreateMatrix | ( | const PointsKey & | pkey | ) |
Delegate to function below.
Definition at line 130 of file FourierPoints.cpp.
References Nektar::LibUtilities::Points< NekDouble >::GetI(), Nektar::LibUtilities::PointsKey::GetNumPoints(), and Nektar::LibUtilities::PointsManager().
Referenced by FourierPoints().
|
private |
|
overrideprivatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 90 of file FourierPoints.cpp.
References Nektar::LibUtilities::PointsKey::GetNumPoints(), Nektar::LibUtilities::Points< NekDouble >::m_derivmatrix, Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, and Nektar::LibUtilities::Points< DataT >::v_CalculateDerivMatrix().
|
overrideprivatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 49 of file FourierPoints.cpp.
References ASSERTL0, 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 71 of file FourierPoints.cpp.
References Nektar::LibUtilities::PointsKey::GetNumPoints(), Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, Nektar::LibUtilities::Points< NekDouble >::m_weights, and Nektar::LibUtilities::Points< NekDouble >::v_CalculateWeights().
|
overrideprotectedvirtual |
Delegate to function below.
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 151 of file FourierPoints.cpp.
References Nektar::LibUtilities::Points< NekDouble >::GetI().
|
overrideprotectedvirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 142 of file FourierPoints.cpp.
References ASSERTL0, Nektar::LibUtilities::PointsKey::GetPointsDim(), and Nektar::LibUtilities::Points< NekDouble >::m_InterpManager.
|
overrideprotectedvirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 160 of file FourierPoints.cpp.
References CalculateInterpMatrix(), and Nektar::LibUtilities::Points< NekDouble >::GetNumPoints().
|
staticprivate |
Definition at line 115 of file FourierPoints.h.