35 #include <boost/core/ignore_unused.hpp>
44 namespace LibUtilities
64 "Fourier points for single mode analysis should be 2");
78 for (
unsigned int i = 0; i < npts; ++i)
93 std::shared_ptr<Points<NekDouble>> returnval(
96 returnval->Initialize();
110 return GetI(numpoints, xpoints);
117 "Fourier Points can only interp to other 1d point distributions");
128 return GetI(numpoints, x);
140 std::shared_ptr<NekMatrix<NekDouble>> returnval(
151 boost::ignore_unused(npts, xpoints, interp);
#define ASSERTL0(condition, msg)
static std::shared_ptr< PointsBaseType > Create(const PointsKey &key)
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)
std::shared_ptr< NekMatrix< NekDouble > > CreateMatrix(const PointsKey &pkey)
static bool initPointsManager[]
virtual const MatrixSharedPtrType v_GetI(const PointsKey &pkey) override
bool RegisterCreator(const KeyType &key, const CreateFuncType &createFunc)
Register the given function and associate it with the key. The return value is just to facilitate cal...
Array< OneD, DataType > m_points[3]
Storage for the point locations, allowing for up to a 3D points storage.
NekManager< PointsKey, NekMatrix< DataType >, PointsKey::opLess > m_InterpManager
virtual void v_CalculatePoints()
PointsKey m_pointsKey
Points type for this points distributions.
unsigned int GetNumPoints() const
Array< OneD, DataType > m_weights
Quadrature weights for the weights.
virtual void v_CalculateDerivMatrix()
const MatrixSharedPtrType GetI(const PointsKey &key)
virtual void v_CalculateWeights()
Defines a specification for a set of points.
unsigned int GetPointsDim() const
unsigned int GetNumPoints() const
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
PointsManagerT & PointsManager(void)
@ eFourierSingleModeSpaced
1D Non Evenly-spaced points for Single Mode analysis
The above copyright notice and this permission notice shall be included.