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

Tripolar grid with analytical characterization #1

Closed simone-silvestri closed 4 months ago

simone-silvestri commented 4 months ago

We here define the tripolar grid as a set of cofocal ellipses that intersecate perpendicular hyperbolae.

The advantage of this formulation is that is is easy (and very fast!) to build a grid and also perform inverse mapping. As such, this PR removes the saving and loading the grid from file since it is not necessary.

This PR also removes the (obsolete and frankly inferior) warped grid and all the utils requires for its construction.

cc @jagoosw