Alsvinn  0.5.3
The fast FVM simulator with UQ support
Namespaces | Functions
legendre.hpp File Reference
#include <type_traits>
#include "alsutils/types.hpp"

Go to the source code of this file.

Namespaces

 alsutils
 Various utilities for mpi and cuda.
 
 alsutils::math
 

Functions

template<int n>
__device__ __host__ real alsutils::math::legendre (real x)
 
template<>
__device__ __host__ real alsutils::math::legendre< 1 > (real x)
 
template<>
__device__ __host__ real alsutils::math::legendre< 0 > (real x)
 
__device__ __host__ real alsutils::math::legendre_p (int degree, real x)