CliMA / OrthogonalSphericalShellGrids.jl

🌐 Recipes and tools for generating spherical shell grids for ocean simulations with Oceananigans
https://clima.github.io/OrthogonalSphericalShellGrids.jl/stable/
MIT License
3 stars 0 forks source link

Distributed Tripolar grid #2

Closed simone-silvestri closed 2 months ago

simone-silvestri commented 3 months ago

this PR adds support for a distributed Tripolar grid with a y-partitioning (i.e. only the j direction is partitioned)

This case is quite simple because the Zipper boundary condition works similarly. If we also want to divide the x-direction that would require a little more work to define the neighbors of the last rank in y.

@jagoosw

simone-silvestri commented 2 months ago

This seems to work now!