This PR introduces pencil decomposition (in x and y) for the tripolar grid, contingent on having a even number of processors in the x-direction.
Also fixes some bugs in the previously untested y-slab partitioning and adds tests for the distributed tripolar grid.
Tests have been added and everything seems to work nicely.
However, this PR depends on PR https://github.com/CliMA/Oceananigans.jl/pull/3714, so I will work on the Oceananigans PR, then we can look at this one.
This PR introduces pencil decomposition (in x and y) for the tripolar grid, contingent on having a even number of processors in the x-direction. Also fixes some bugs in the previously untested y-slab partitioning and adds tests for the distributed tripolar grid.
Tests have been added and everything seems to work nicely. However, this PR depends on PR https://github.com/CliMA/Oceananigans.jl/pull/3714, so I will work on the Oceananigans PR, then we can look at this one.