Implement regridding for grids with commensurate spacing
Description
Implement regridding for commensurate spacings. This is done as a prolongation for coarse-to-fine regriddings and as a restriction for fine-to-coarse regriddings. Both operators are defined to be adjoint. It works for different parallelizations of both meshes with the restrictions of partition_transfer_t
. I have added some tests.
News snippet
Regridding for grids with different, but commensurate spacing
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.