Precomputed volume and face integration operators for affine 1D, 2D, and 3D DG cells.
More...
#include <dg_integration.hpp>
|
|
using | Matrix = xt::xarray<double> |
| | Array type for integration operators and quadrature data.
|
Precomputed volume and face integration operators for affine 1D, 2D, and 3D DG cells.
The rules follow the supplied DGSpace cell groups and can be reused by different equation systems on the same space.
◆ DGIntegration()
Builds integration rules for the cells in a DG space.
- Parameters
-
| mesh | Source mesh. |
| space | DG cell groups and polynomial orders. |
| connectivity | Face adjacency and orientation for the source mesh. |
| geometry | Cell and face geometry for the source mesh. |
- Exceptions
-
| std::invalid_argument | If the inputs refer to different meshes, a neighboring cell is missing from the space, or a polynomial order is too large for face quadrature. |
◆ cell()
Returns the integration rule for a mesh cell.
- Parameters
-
| mesh_cell_index | Index in the source mesh. |
- Returns
- The cell rule, with empty matrices for a cell outside the DGSpace.
- Exceptions
-
| std::out_of_range | If the mesh cell index is invalid. |
◆ cells()
| std::span< const CellRule > oiseau::dg::DGIntegration::cells |
( |
| ) |
const |
|
inline |
- Returns
- Rules in mesh cell order. Cells outside the DGSpace have empty matrices.
The documentation for this class was generated from the following files:
- /__w/oiseau/oiseau/src/oiseau/dg/dg_integration.hpp
- /__w/oiseau/oiseau/src/oiseau/dg/dg_integration.cpp