35 #include <boost/core/ignore_unused.hpp> 44 namespace LibUtilities
63 ASSERTL0(npts==2,
"Fourier points for single mode analysis should be 2");
77 for(
unsigned int i=0; i<npts; ++i)
94 returnval->Initialize();
108 return GetI(numpoints, xpoints);
113 ASSERTL0(pkey.
GetPointsDim()==1,
"Fourier Points can only interp to other 1d point distributions");
124 return GetI(numpoints, x);
142 boost::ignore_unused(npts, xpoints, interp);
static bool initPointsManager[]
#define ASSERTL0(condition, msg)
Array< OneD, DataType > m_weights
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
void CalculateDerivMatrix()
unsigned int GetPointsDim() const
virtual void CalculatePoints()
void CalculateInterpMatrix(unsigned int npts, const Array< OneD, const NekDouble > &xpoints, Array< OneD, NekDouble > &interp)
NekManager< PointsKey, NekMatrix< DataType >, PointsKey::opLess > m_InterpManager
PointsManagerT & PointsManager(void)
Defines a specification for a set of points.
virtual void CalculateDerivMatrix()
static std::shared_ptr< PointsBaseType > Create(const PointsKey &key)
1D Non Evenly-spaced points for Single Mode analysis
Array< OneD, DataType > m_points[3]
const MatrixSharedPtrType GetI(const PointsKey &pkey)
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...
virtual void CalculateWeights()
unsigned int GetNumPoints() const
unsigned int GetNumPoints() const
std::shared_ptr< NekMatrix< NekDouble > > CreateMatrix(const PointsKey &pkey)