postgkyl.interpolate¶
- postgkyl.interpolate(data, *, num_interp=None, inplace=False, tag=None, label=None)¶
Interpolate DG (modal/nodal) data at uniformly spaced points in each cell.
Basis, polynomial order, and value_form are properties of
dataitself, fixed at load time (pg.load(..., basis_type=..., poly_order=..., value_form=...)or the CLI’s-b/-p/-v) – this verb only ever reads them offdata.ctx. The result is flaggedinterpolated=Trueso it becomes safe for element-wise math.- Parameters:
data – Dataset containing DG coefficients.
num_interp – Evaluation points per cell; use the basis default when omitted.
inplace – Mutate and return
datainstead of creating a dataset.tag – Optional tag for the returned dataset.
label – Optional label for the returned dataset.