35 #ifndef NEKTAR_LIB_UTILTIES_FOUNDATIONS_INTERP_H 
   36 #define NEKTAR_LIB_UTILTIES_FOUNDATIONS_INTERP_H 
   45 template <
typename Dim, 
typename DataType> 
class Array;
 
   50 namespace LibUtilities
 
   75                                    const Array<OneD, const NekDouble> &from,
 
   76                                    const BasisKey &tbasis0,
 
   77                                    Array<OneD, NekDouble> &to);
 
   80                                    const Array<OneD, const NekDouble> &from,
 
   81                                    const PointsKey &tpoints0,
 
   82                                    Array<OneD, NekDouble> &to);
 
   90                                    const PointsKey &tpoints0, 
NekDouble *to);
 
  114                                    const BasisKey &fbasis1,
 
  115                                    const Array<OneD, const NekDouble> &from,
 
  116                                    const BasisKey &tbasis0,
 
  117                                    const BasisKey &tbasis1,
 
  118                                    Array<OneD, NekDouble> &to);
 
  121                                    const PointsKey &fpoints1,
 
  122                                    const Array<OneD, const NekDouble> &from,
 
  123                                    const PointsKey &tpoints0,
 
  124                                    const PointsKey &tpoints1,
 
  125                                    Array<OneD, NekDouble> &to);
 
  128                                    const PointsKey &fpoints1,
 
  130                                    const PointsKey &tpoints0,
 
  131                                    const PointsKey &tpoints1, 
NekDouble *to);
 
  156     const BasisKey &fbasis0, 
const BasisKey &fbasis1, 
const BasisKey &fbasis2,
 
  157     const Array<OneD, const NekDouble> &from, 
const BasisKey &tbasis0,
 
  158     const BasisKey &tbasis1, 
const BasisKey &tbasis2,
 
  159     Array<OneD, NekDouble> &to);
 
  162     const PointsKey &fpoints0, 
const PointsKey &fpoints1,
 
  163     const PointsKey &fpoints2, 
const Array<OneD, const NekDouble> &from,
 
  164     const PointsKey &tpoints0, 
const PointsKey &tpoints1,
 
  165     const PointsKey &tpoints2, Array<OneD, NekDouble> &to);
 
  168     const PointsKey &fpoints0, 
const PointsKey &fpoints1,
 
  169     const PointsKey &fpoints2, 
const NekDouble *from, 
const PointsKey &tpoints0,
 
  170     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,...
The above copyright notice and this permission notice shall be included.