Intrepid2
Functions
Intrepid2_Polynomials.hpp File Reference

Free functions, callable from device code, that implement various polynomials useful in basis definitions. More...

#include "Intrepid2_Polylib.hpp"
#include "Intrepid2_Types.hpp"
#include "Intrepid2_Utils.hpp"

Go to the source code of this file.

Functions

template<typename OutputValueViewType , typename ScalarType >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::legendreValues (OutputValueViewType outputValues, Intrepid2::ordinal_type n, ScalarType x)
 Evaluate Legendre polynomials up to order n at a specified point. More...
 
template<typename OutputValueViewType , typename ScalarType >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::legendreDerivativeValues (OutputValueViewType outputValues, const OutputValueViewType legendreValues, Intrepid2::ordinal_type n, ScalarType x)
 Evaluate first derivatives of Legendre polynomials up to order n at a specified point, based on provided container with the values of the Legendre polynomials. More...
 
template<typename OutputValueViewType , typename PointScalarType >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::legendreDerivativeValues (OutputValueViewType outputValues, Intrepid2::ordinal_type n, PointScalarType x, Intrepid2::ordinal_type dn)
 Evaluate the dnth derivative of Legendre polynomials up to order n at a specified point. More...
 
template<typename OutputValueViewType , typename ScalarType >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedLegendreValues (OutputValueViewType outputValues, Intrepid2::ordinal_type n, ScalarType x)
 Evaluate shifted Legendre polynomials up to order n at a specified point in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledLegendreValues (OutputValueViewType outputValues, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 Evaluate shifted, scaled Legendre polynomials up to order n at a specified point in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledIntegratedLegendreValues (OutputValueViewType outputValues, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 Integrated Legendre polynomials L_i for i>=1, defined for x in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledIntegratedLegendreValues (OutputValueViewType outputValues, const OutputValueViewType shiftedScaledLegendreValues, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 Integrated Legendre polynomials L_i for i>=1, defined for x in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledIntegratedLegendreValues_dx (OutputValueViewType outputValues, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 x derivative of shifted, scaled integrated Legendre polynomials L_i for i>=1, defined for x in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledIntegratedLegendreValues_dt (OutputValueViewType outputValues, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 t derivative of shifted, scaled integrated Legendre polynomials L_i for i>=1, defined for x in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledIntegratedLegendreValues_dt (OutputValueViewType outputValues, const OutputValueViewType shiftedScaledLegendreValues, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 t derivative of shifted, scaled integrated Legendre polynomials L_i for i>=1, defined for x in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledJacobiValues (OutputValueViewType outputValues, double alpha, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 Shifted, scaled Jacobi values, defined for x in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledIntegratedJacobiValues (OutputValueViewType outputValues, const OutputValueViewType jacobiValues, double alpha, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 Integrated Jacobi values, defined for x in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledIntegratedJacobiValues (OutputValueViewType outputValues, double alpha, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 Integrated Jacobi values, defined for x in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledIntegratedJacobiValues_dx (OutputValueViewType outputValues, double alpha, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 x derivative of integrated Jacobi polynomials L_i for i>=1, defined for x in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledIntegratedJacobiValues_dt (OutputValueViewType outputValues, const OutputValueViewType jacobiValues, double alpha, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 t derivative of shifted, scaled integrated Jacobi polynomials L_i for i>=1, defined for x in [0,1]. More...
 
template<typename OutputValueViewType , typename ScalarType , typename ScalarTypeForScaling >
KOKKOS_INLINE_FUNCTION void Intrepid2::Polynomials::shiftedScaledIntegratedJacobiValues_dt (OutputValueViewType outputValues, double alpha, Intrepid2::ordinal_type n, ScalarType x, ScalarTypeForScaling t)
 t derivative of shifted, scaled integrated Jacobi polynomials L_i for i>=1, defined for x in [0,1]. More...
 

Detailed Description

Free functions, callable from device code, that implement various polynomials useful in basis definitions.

Author
Created by N.V. Roberts.

Definition in file Intrepid2_Polynomials.hpp.