postgkyl.represent¶
- postgkyl.represent(data, *, to, num_quad=None, inplace=False, tag=None, label=None)¶
Convert a native dataset to the
tovalue_form (explicitly).By default,
quaduses Gkeyll’s basis-owned quadrature nodes and modal/quadrature transforms. A modal -> quad -> modal round trip preserves the expansion. Explicitnum_quadselects a uniform Gauss rule instead; projection back uses the rule and ordering stored with the data.nodal<->quadcomposes through modal.- Parameters:
data – Native dataset to convert.
to – Target value representation.
num_quad – Optional Gauss points per direction; omitted uses Gkeyll’s rule.
inplace – Mutate and return
datainstead of creating a dataset.tag – Optional tag for the returned dataset.
label – Optional label for the returned dataset.