-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does SplitExplicitAuxiliaryFields
need to be extended for TripolarGrid
?
#51
Comments
I think it is actually incorrect for "split explicit free surface" functionality to appear in a package that is supposedly only about grids in the first place. Everythign in this package should be purely about grids, not physics. The fact that we have to put physics and model-specific things in this package signals that our design is wrong. |
Does this work for every grid? Why? Why not? |
The estension here in done to extend the halos in the north region where the boundaries are special. We could move this to Oceananigans. But after CliMA/Oceananigans.jl#3894 it will not be needed anymore, only the |
In CliMA/Oceananigans.jl#3894 I can also modify the |
Probably, you want to make this change regardless of whether we have a separate package for TripolarGrid or not |
The other disadvantage of this as a separate package is that users now have to depend on |
That said, it can well-motivated in two cases:
I don't think that we meet either of these requirements though --- this package depends on Oceananigans and cannot be used separately from it. Also, this is a rather small package that provides a minor extension to Oceananigans and therefore I don't think significantly adds to Oceananigans bloat. |
These kinds of deep changes into Oceananigans mean that the interface for using different grids with the split-explicit free surface is not well defined. Either we need to have a well-defined interface that only extends fields by design (not simply ad hoc), or we need to move this functionality into Oceananigans
OrthogonalSphericalShellGrids.jl/src/split_explicit_free_surface.jl
Line 14 in 5ad39ae
The text was updated successfully, but these errors were encountered: