pgkyl local_poly

Usage: pgkyl local_poly [OPTIONS]

  Evaluate the DG polynomial cell-by-cell onto a plotting mesh that keeps every inter-
  cell discontinuity visible, instead of the continuous refined mesh ``interpolate``
  produces.

  ``npoints`` reference points span the whole cell (``[-1, 1]``, endpoints included) and
  a NaN is spliced in at every cell interface, so a plot breaks the curve there rather
  than drawing a spuriously smooth line across it.

  Basis, polynomial order, and value_form are properties of ``data`` itself, fixed at
  load time, same as ``interpolate``. The result is flagged ``interpolated=True`` so it
  becomes safe for element-wise math.

Options:
  -n, --npoints INTEGER    Evaluation points in each cell and direction.  [default: 2]
  -i, --inplace [BOOLEAN]  Mutate and return ``data`` instead of creating a dataset.
                           [default: False]
  -t, --tag TEXT           Optional tag for the returned dataset.
  -l, --label TEXT         Optional label for the returned dataset.
  --help                   Show this message and exit.

Python API