Implement higher-order interpolation for regridding
Description
Use a larger hexahedron of points on the coarse mesh and a larger number of polynomials to approximate the function to the corresponding order. Adapt the transfer stencil accordingly. The code is now generic for arbitrary interpolation order in n dimensions.
For general curvilinear meshes, a generic interpolation scheme is used instead of the multigrid-like approach because we cannot assume that one grid is coarser everywhere than the other one for two general curvilinear meshes.
News snippet
Implement higher-order interpolation for regridding
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.
Edited by Sebastian Ohlmann