This struct contains interpolation weights for 2nd order quadratic Lagrange interpolating polynomials. Basis functions are \(1 - 3\xi + 2\xi^2\), \(4\xi - 4\xi^2\) and \(- \xi + 2\xi^2\) for \(xi \in [0, 1]\).
More...
#include <quadratic_weights.hpp>
This struct contains interpolation weights for 2nd order quadratic Lagrange interpolating polynomials. Basis functions are \(1 - 3\xi + 2\xi^2\), \(4\xi - 4\xi^2\) and \(- \xi + 2\xi^2\) for \(xi \in [0, 1]\).
KOKKOS_INLINE_FUNCTION quadratic_Lagrange_weights::quadratic_Lagrange_weights |
( |
| ) |
|
|
inline |
KOKKOS_INLINE_FUNCTION quadratic_Lagrange_weights::quadratic_Lagrange_weights |
( |
double |
var, |
|
|
double |
inv_d |
|
) |
| |
|
inline |
KOKKOS_INLINE_FUNCTION void quadratic_Lagrange_weights::set |
( |
double |
var, |
|
|
double |
inv_d |
|
) |
| |
|
inline |
KOKKOS_INLINE_FUNCTION void quadratic_Lagrange_weights::set_i |
( |
int |
new_i | ) |
|
|
inline |
quadratic_Lagrange_weights::i |
member 'i' contains the lower index.
quadratic_Lagrange_weights::w |
member 'w' contains the weights of i, i+1 and i+2.
The documentation for this struct was generated from the following file: