35#ifndef NEKTAR_LIB_UTILTIES_FOUNDATIONS_INTERP_H
36#define NEKTAR_LIB_UTILTIES_FOUNDATIONS_INTERP_H
44template <
typename Dim,
typename DataType>
class Array;
72 const Array<OneD, const NekDouble> &from,
73 const BasisKey &tbasis0,
74 Array<OneD, NekDouble> &to);
77 const Array<OneD, const NekDouble> &from,
78 const PointsKey &tpoints0,
79 Array<OneD, NekDouble> &to);
87 const PointsKey &tpoints0,
NekDouble *to);
111 const BasisKey &fbasis1,
112 const Array<OneD, const NekDouble> &from,
113 const BasisKey &tbasis0,
114 const BasisKey &tbasis1,
115 Array<OneD, NekDouble> &to);
118 const PointsKey &fpoints1,
119 const Array<OneD, const NekDouble> &from,
120 const PointsKey &tpoints0,
121 const PointsKey &tpoints1,
122 Array<OneD, NekDouble> &to);
125 const PointsKey &fpoints1,
127 const PointsKey &tpoints0,
128 const PointsKey &tpoints1,
NekDouble *to);
153 const BasisKey &fbasis0,
const BasisKey &fbasis1,
const BasisKey &fbasis2,
154 const Array<OneD, const NekDouble> &from,
const BasisKey &tbasis0,
155 const BasisKey &tbasis1,
const BasisKey &tbasis2,
156 Array<OneD, NekDouble> &to);
159 const PointsKey &fpoints0,
const PointsKey &fpoints1,
160 const PointsKey &fpoints2,
const Array<OneD, const NekDouble> &from,
161 const PointsKey &tpoints0,
const PointsKey &tpoints1,
162 const PointsKey &tpoints2, Array<OneD, NekDouble> &to);
165 const PointsKey &fpoints0,
const PointsKey &fpoints1,
166 const PointsKey &fpoints2,
const NekDouble *from,
const PointsKey &tpoints0,
167 const PointsKey &tpoints1,
const PointsKey &tpoints2,
NekDouble *to);
#define LIB_UTILITIES_EXPORT
void Interp1D(const BasisKey &fbasis0, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, Array< OneD, NekDouble > &to)
this function interpolates a 1D function evaluated at the quadrature points of the basis fbasis0 to ...
void Interp3D(const BasisKey &fbasis0, const BasisKey &fbasis1, const BasisKey &fbasis2, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, const BasisKey &tbasis1, const BasisKey &tbasis2, Array< OneD, NekDouble > &to)
this function interpolates a 3D function evaluated at the quadrature points of the 3D basis,...
void Interp2D(const BasisKey &fbasis0, const BasisKey &fbasis1, const Array< OneD, const NekDouble > &from, const BasisKey &tbasis0, const BasisKey &tbasis1, Array< OneD, NekDouble > &to)
this function interpolates a 2D function evaluated at the quadrature points of the 2D basis,...