43 namespace LibUtilities
54 "Must set factor in BLPoints key");
56 if (fabs(r-1.0) < 1e-6)
59 for (
unsigned int i = 0; i <
npts; ++i)
69 for (
unsigned int i = 1; i <
npts; ++i)
79 vector<NekDouble> tmp(npts);
80 for (
unsigned int i = 0; i <
npts; ++i)
85 for (
unsigned int i = 0; i <
npts; ++i)
107 returnval->Initialize();
116 Array<OneD, const NekDouble> xpoints;
121 return GetI(numpoints, xpoints);
126 ASSERTL0(pkey.
GetPointsDim()==1,
"Fourier Points can only interp to other 1d point distributions");
131 const boost::shared_ptr<NekMatrix<NekDouble> >
BLPoints::GetI(
const Array<OneD, const NekDouble>& x)
136 return GetI(numpoints, x);
139 const boost::shared_ptr<NekMatrix<NekDouble> >
BLPoints::GetI(
unsigned int numpoints,
const Array<OneD, const NekDouble>& x)
141 Array<OneD, NekDouble> interp(
GetNumPoints()*numpoints);
147 boost::shared_ptr< NekMatrix<NekDouble> > returnval(
MemoryManager<NekMatrix<NekDouble> >::AllocateSharedPtr(numpoints,np,t));