35#include <boost/core/ignore_unused.hpp>
61 "Fourier points for single mode analysis should be 2");
74 for (
size_t i = 0; i < npts; ++i)
89 std::shared_ptr<Points<NekDouble>> returnval(
92 returnval->Initialize();
100 boost::ignore_unused(pkey);
103 "CreateMatrix not available for Fourier Single Mode Points");
111 boost::ignore_unused(pkey);
113 ASSERTL0(
false,
"Interp not available for Fourier Single Mode Points");
121 boost::ignore_unused(x);
123 ASSERTL0(
false,
"Interp not available for Fourier Single Mode Points");
131 boost::ignore_unused(numpoints, x);
133 ASSERTL0(
false,
"Interp not available for Fourier Single Mode Points");
142 boost::ignore_unused(npts, xpoints, interp);
146 "CalculateInterpMatrix not available for Fourier Single Mode Points");
#define ASSERTL0(condition, msg)
static std::shared_ptr< PointsBaseType > Create(const PointsKey &key)
void CalculateInterpMatrix(size_t npts, const Array< OneD, const NekDouble > &xpoints, Array< OneD, NekDouble > &interp)
virtual void v_CalculatePoints() override
virtual void v_CalculateWeights() override
virtual void v_CalculateDerivMatrix() override
std::shared_ptr< NekMatrix< NekDouble > > CreateMatrix(const PointsKey &pkey)
static bool initPointsManager[]
virtual const MatrixSharedPtrType v_GetI(const PointsKey &pkey) override final
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...
Stores a set of points of datatype DataT, defined by a PointKey.
Array< OneD, DataType > m_points[3]
Storage for the point locations, allowing for up to a 3D points storage.
virtual void v_CalculatePoints()
PointsKey m_pointsKey
Points type for this points distributions.
Array< OneD, DataType > m_weights
Quadrature weights for the weights.
virtual void v_CalculateWeights()
Defines a specification for a set of points.
size_t 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.