Usage: pgkyl integrate [OPTIONS] [AXIS]
Integrate over all or a subset of a dataset's spatial axes.
Integrating every axis is terminal and returns one number per field. Integrating a
strict subset returns a dataset over the surviving axes. Native modal input uses
Gkeyll for both cases and remains modal/native after a partial integration; no
interpolation or point sampling occurs. Quadrature input uses its stored projection
rule and the same native kernels for full integration. Partial quadrature integration
requires an explicit conversion to modal form, since projection can change the
retained point values. Cell-local nodal input uses its exact inverse transform before
integration, preserving cell boundaries and discontinuities. Plain edge-located values
use cell widths; plain point samples use the trapezoidal rule on their supplied
domain, without extrapolating beyond its endpoints. Missing native kernels emit a
warning and raise rather than approximate.
Positional arguments:
[AXIS] Axis or axes to integrate: an integer, tuple of integers, comma-separated
string (``"0,1"``), colon slice string (``"0:2"``), or ``None`` for every
spatial axis.
Arguments:
[AXIS] Axis or axes to integrate: an integer, tuple of integers, comma-separated
string (``"0,1"``), colon slice string (``"0:2"``), or ``None`` for every
spatial axis.
Options:
-o, --op [none|abs|sq] Full native-DG integrand operation: ``"none"``, ``"abs"``, or
``"sq"``. Partial and point-value integration support
``"none"`` only. [default: none]
-i, --inplace [BOOLEAN] Mutate ``data`` for partial integration; unavailable for a
full, terminal integration. [default: False]
-t, --tag TEXT Optional tag for a partial-integration result.
-l, --label TEXT Optional label for a partial-integration result.
--help Show this message and exit.