|
Basix
|
Quadrature rules. More...
Enumerations | |
| enum class | type { Default = 0 , gauss_jacobi = 1 , gll = 2 , xiao_gimbutas = 3 , zienkiewicz_taylor = 20 , keast = 21 , strang_fix = 22 } |
| Quadrature type. | |
Functions | |
| template<std::floating_point T> | |
| std::array< std::vector< T >, 2 > | gauss_jacobi_rule (T a, int m) |
| Get the Gauss-Jacobi rule for the interval for integrating f(x) * (1-x)^a on the interval [0, 1]. | |
| template<std::floating_point T> | |
| std::array< std::vector< T >, 2 > | make_quadrature (const quadrature::type rule, cell::type celltype, polyset::type polytype, int m) |
| Make a quadrature rule on a reference cell. | |
| quadrature::type | get_default_rule (cell::type celltype, int m) |
| Get the default quadrature type for the given cell and order. | |
| template<std::floating_point T> | |
| std::vector< T > | get_gll_points (int m) |
| Get Gauss-Lobatto-Legendre (GLL) points on the interval [0, 1]. | |
| template<std::floating_point T> | |
| std::vector< T > | get_gl_points (int m) |
| Get Gauss-Legendre (GL) points on the interval [0, 1]. | |
Quadrature rules.
| std::array< std::vector< T >, 2 > basix::quadrature::gauss_jacobi_rule | ( | T | a, |
| int | m ) |
Get the Gauss-Jacobi rule for the interval for integrating f(x) * (1-x)^a on the interval [0, 1].
| The | floating point type. |
| [in] | a | The exponent a. |
| [in] | m | The number of points. |
| std::array< std::vector< T >, 2 > basix::quadrature::make_quadrature | ( | const quadrature::type | rule, |
| cell::type | celltype, | ||
| polyset::type | polytype, | ||
| int | m ) |
Make a quadrature rule on a reference cell.
| T | The floating point type. |
| [in] | rule | Type of quadrature rule (or use quadrature::Default). |
| [in] | celltype | Cell type. |
| [in] | polytype | Polyset type. |
| [in] | m | Maximum degree of polynomial that this quadrature rule will integrate exactly. |
| quadrature::type basix::quadrature::get_default_rule | ( | cell::type | celltype, |
| int | m ) |
Get the default quadrature type for the given cell and order.
| [in] | celltype | Cell type. |
| [in] | m | Maximum degree of polynomial that this quadrature rule will integrate exactly. |
| std::vector< T > basix::quadrature::get_gll_points | ( | int | m | ) |
Get Gauss-Lobatto-Legendre (GLL) points on the interval [0, 1].
| T | The floating point type. |
| [in] | m | Number of points. |
| std::vector< T > basix::quadrature::get_gl_points | ( | int | m | ) |
Get Gauss-Legendre (GL) points on the interval [0, 1].
| T | The floating point type. |
| [in] | m | Number of points |