Serac
0.1
Serac is an implicit thermal strucural mechanics simulation code.
|
Definitions of 1D quadrature weights and node locations and polynomial basis functions. More...
Go to the source code of this file.
Namespaces | |
serac | |
Accelerator functionality. | |
Functions | |
template<int n, typename T = double> | |
constexpr SERAC_HOST_DEVICE tensor< T, n > | serac::GaussLobattoNodes (T a=T(0), T b=T(1)) |
The positions (in 1D space) of Gauss-Lobatto points. More... | |
template<int n, mfem::Geometry::Type geom> | |
constexpr SERAC_HOST_DEVICE auto | serac::GaussLegendreNodes () |
The positions of Gauss-Legendre points for different geometries. More... | |
template<int n, mfem::Geometry::Type geom> | |
constexpr SERAC_HOST_DEVICE auto | serac::GaussLegendreWeights () |
The weights associated with each Gauss-Legendre point. More... | |
constexpr SERAC_HOST_DEVICE int | serac::factorial (int n) |
compute n! More... | |
template<int n, typename T > | |
constexpr SERAC_HOST_DEVICE tensor< T, n > | serac::powers (T x) |
compute the first n powers of x More... | |
template<int n, typename S > | |
constexpr SERAC_HOST_DEVICE tensor< S, n > | serac::ChebyshevT (S x) |
Chebyshev polynomials of the first kind Satisfying: T_n(cos(t)) == cos(n*t) More... | |
template<int n, typename T > | |
SERAC_HOST_DEVICE tensor< T, n > | serac::ChebyshevU (T x) |
Chebyshev polynomials of the second kind Satisfying: sin(t) U_n(cos(t)) == sin((n+1)*t) More... | |
template<int n, typename T > | |
SERAC_HOST_DEVICE tensor< T, n > | serac::Legendre (T x) |
Legendre Polynomials, orthogonal on the domain (-1, 1) with unit weight function. More... | |
template<int n, typename T > | |
SERAC_HOST_DEVICE tensor< T, n > | serac::Bernstein (T s) |
Bernstein Polynomials on the domain [0, 1]. More... | |
template<int n, typename T > | |
constexpr SERAC_HOST_DEVICE tensor< T, n > | serac::GaussLobattoInterpolation ([[maybe_unused]] T x) |
Lagrange Interpolating polynomials for nodes at Gauss-Lobatto points on the interval [0, 1]. More... | |
template<int n, typename T > | |
constexpr SERAC_HOST_DEVICE tensor< T, n > | serac::GaussLobattoInterpolationDerivative ([[maybe_unused]] T x) |
Derivatives of the Lagrange Interpolating polynomials for nodes at Gauss-Lobatto points on the interval [0, 1]. More... | |
template<int n, typename T > | |
constexpr SERAC_HOST_DEVICE tensor< T, n > | serac::GaussLegendreInterpolation ([[maybe_unused]] T x) |
Lagrange Interpolating polynomials for nodes at Gauss-Legendre points on the interval [0, 1]. More... | |
template<int n, typename T > | |
constexpr SERAC_HOST_DEVICE tensor< T, n > | serac::GaussLegendreInterpolationDerivative ([[maybe_unused]] T x) |
Derivatives of the Lagrange Interpolating polynomials for nodes at Gauss-Legendre points on the interval [-1, 1]. More... | |
Definitions of 1D quadrature weights and node locations and polynomial basis functions.
Definition in file polynomials.hpp.