XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
quadratic_Lagrange_weights Struct Reference

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>

Public Member Functions

KOKKOS_INLINE_FUNCTION quadratic_Lagrange_weights ()
 
KOKKOS_INLINE_FUNCTION quadratic_Lagrange_weights (double var, double inv_d)
 
KOKKOS_INLINE_FUNCTION void set (double var, double inv_d)
 
KOKKOS_INLINE_FUNCTION void set_i (int new_i)
 

Public Attributes

int i
 
double w [3]
 

Detailed Description

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]\).

Constructor & Destructor Documentation

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

Here is the call graph for this function:

Member Function Documentation

KOKKOS_INLINE_FUNCTION void quadratic_Lagrange_weights::set ( double  var,
double  inv_d 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION void quadratic_Lagrange_weights::set_i ( int  new_i)
inline

Here is the caller graph for this function:

Member Data Documentation

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: