symfem.quadrature
¶
Quadrature definitions.
Module Contents¶
Functions¶
|
Get equispaced points and weights. |
|
Get Gauss-Lobatto-Legendre points and weights. |
|
Get Radau points and weights. |
|
Get Gauss-Legendre points and weights. |
|
Get quadrature points and weights. |
Attributes¶
- symfem.quadrature.Scalar¶
- symfem.quadrature.equispaced(n: int) Tuple[List[Scalar], List[Scalar]] ¶
Get equispaced points and weights.
- Parameters:
n – Number of points
- Returns:
Quadrature points and weights
- symfem.quadrature.lobatto(n: int) Tuple[List[Scalar], List[Scalar]] ¶
Get Gauss-Lobatto-Legendre points and weights.
- Parameters:
n – Number of points
- Returns:
Quadrature points and weights
- symfem.quadrature.radau(n: int) Tuple[List[Scalar], List[Scalar]] ¶
Get Radau points and weights.
- Parameters:
n – Number of points
- Returns:
Quadrature points and weights
- symfem.quadrature.legendre(n: int) Tuple[List[Scalar], List[Scalar]] ¶
Get Gauss-Legendre points and weights.
- Parameters:
n – Number of points
- Returns:
Quadrature points and weights
- symfem.quadrature.get_quadrature(rule: str, n: int) Tuple[List[Scalar], List[Scalar]] ¶
Get quadrature points and weights.
- Parameters:
rule – The quadrature rule. Supported values: equispaced, lobatto, radau, legendre, gll
n – Number of points
- Returns:
Quadrature points and weights