Skip to content

Scale regridding quantities by their 2-norm

Sebastian Ohlmann requested to merge regridding_rescaling into main

Description

This is important for grids of different spacing. Otherwise, the regridding can lead to very different norms or averages especially for nearest-neighbor interpolation.

Checklist

  • I have checked that my code follows the Octopus coding standards
  • I have added tests for all the new features added in this request.

Merge request reports