Nektar++
|
#include <FourierPoints.h>
Public Member Functions | |
virtual | ~FourierPoints () |
boost::shared_ptr< NekMatrix< NekDouble > > | CreateMatrix (const PointsKey &pkey) |
const MatrixSharedPtrType | GetI (const PointsKey &pkey) |
const MatrixSharedPtrType | GetI (const Array< OneD, const NekDouble > &x) |
const MatrixSharedPtrType | GetI (unsigned int numpoints, const Array< OneD, const NekDouble > &x) |
FourierPoints (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 | |
FourierPoints () | |
Default constructor should not be called except by Create method. More... | |
FourierPoints (const FourierPoints &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 | PeriodicSincFunction (const NekDouble x, const NekDouble h) |
Additional Inherited Members | |
Public Types inherited from Nektar::LibUtilities::Points< NekDouble > | |
typedef NekDouble | DataType |
typedef boost::shared_ptr< NekMatrix< DataType > > | MatrixSharedPtrType |
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 51 of file FourierPoints.h.
|
inlinevirtual |
Definition at line 54 of file FourierPoints.h.
|
inline |
Definition at line 65 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::eGaussRadauMAlpha0Beta2, Nektar::LibUtilities::eGaussRadauMAlpha1Beta0, Nektar::LibUtilities::eGaussRadauMAlpha2Beta0, 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.
|
privatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 90 of file FourierPoints.cpp.
References Nektar::LibUtilities::Points< DataT >::CalculateDerivMatrix(), Nektar::LibUtilities::PointsKey::GetNumPoints(), Nektar::LibUtilities::Points< NekDouble >::m_derivmatrix, Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, and npts.
|
private |
Definition at line 165 of file FourierPoints.cpp.
References Nektar::LibUtilities::PointsKey::GetNumPoints(), Nektar::LibUtilities::Points< NekDouble >::m_points, Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, npts, and PeriodicSincFunction().
Referenced by GetI().
|
privatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 49 of file FourierPoints.cpp.
References ASSERTL0, 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 71 of file FourierPoints.cpp.
References Nektar::LibUtilities::Points< NekDouble >::CalculateWeights(), Nektar::LibUtilities::PointsKey::GetNumPoints(), Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, Nektar::LibUtilities::Points< NekDouble >::m_weights, and npts.
|
static |
Definition at line 116 of file FourierPoints.cpp.
boost::shared_ptr< NekMatrix< NekDouble > > Nektar::LibUtilities::FourierPoints::CreateMatrix | ( | const PointsKey & | pkey | ) |
Delegate to function below.
Definition at line 126 of file FourierPoints.cpp.
References GetI(), Nektar::LibUtilities::PointsKey::GetNumPoints(), and Nektar::LibUtilities::PointsManager().
Referenced by FourierPoints().
|
virtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 137 of file FourierPoints.cpp.
References ASSERTL0, Nektar::LibUtilities::PointsKey::GetPointsDim(), and Nektar::LibUtilities::Points< NekDouble >::m_InterpManager.
Referenced by CreateMatrix(), and GetI().
|
virtual |
Delegate to function below.
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 144 of file FourierPoints.cpp.
References GetI().
|
virtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 152 of file FourierPoints.cpp.
References CalculateInterpMatrix(), and Nektar::LibUtilities::Points< NekDouble >::GetNumPoints().
|
private |