desc.transform.Transform.change_resolution

Transform.change_resolution(grid=None, basis=None, build=True, build_pinv=False, method='auto')Source

Re-build the matrices with a new grid and basis.

Parameters:
  • grid (Grid) – Collocation grid of real space coordinates

  • basis (Basis) – Spectral basis of modes

  • build (bool) – whether to recompute matrices now or wait until requested

  • method ({"auto", "direct1", "direct2", "fft"}) – method to use for computing transforms