Lines Matching refs:q
2 gauss_quadrature(q)
4 Return the Gauss-Legendre quadrature rule with `q` points (integrates polynomials of degree
5 $2q-1$ exactly).
9 function gauss_quadrature(q) argument
10 x = zeros(CeedScalar, q)
11 w = zeros(CeedScalar, q)
12 C.CeedGaussQuadrature(q, x, w)
21 lobatto_quadrature(q, mode::Mode=Abscissa)
23 Return the Gauss-Lobatto quadrature rule with `q` points (integrates polynomials of degree
24 $2q-3$ exactly).
31 function lobatto_quadrature(q, mode::Mode=Abscissa) where {Mode} argument
33 x = zeros(CeedScalar, q)
34 w = (return_weights) ? zeros(CeedScalar, q) : C_NULL
35 C.CeedLobattoQuadrature(q, x, w)