-
Notifications
You must be signed in to change notification settings - Fork 242
Move storage space to from MutableVerticalDiscretization
to ZStarCoordinate
#4686
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is ηⁿ
needed to compute metrics too? Basically I think the only information that should be in the grid is what is required to compute the metrics. Anything to do with specific evolution rules is a model concept?
Yeah, |
Okay, so the main improvement would be better notation if we have it |
What about the time derivative of the stretching metric? This seems unnecessary for prescribed evolution? |
src/Models/HydrostaticFreeSurfaceModels/hydrostatic_free_surface_model.jl
Outdated
Show resolved
Hide resolved
validation/implicit_free_surface/geostrophic_adjustment_test.jl
Outdated
Show resolved
Hide resolved
I think that is required for any type of mutable grid, but I guess that can also be moved... Might be annoying to rewrite this operator though Oceananigans.jl/src/Advection/vector_invariant_self_upwinding.jl Lines 8 to 12 in fb96739
|
Suggest bump patch release with this (or straight after) since it breaks this: |
and while we are at it, also refactor
ZStar
toZStarCoordinate