-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add a getter for grad P #135
base: master
Are you sure you want to change the base?
Conversation
@ipelupessy Please check if the last commit is what you need. The rest is some cleanup I thought I needed for gradp, but then decided that I may as well compute the vector itself on the fortran side instead. |
so ocean->getGradP('V') gets you a vector similar to state ith the gradPx and gradPy in 1st and second place (of 6)? |
Yes, or ocean->getGradP('C') if you want a copy. And Pz is also in there. |
I dunno if there is an easy way to do this, but as test I would try to fill up the state with linear ramps in both directions to see whether the resulting grads are constant... |
the estimate is checkerboard free? |
Yes, we discussed this at the meeting |
…entation accordingly.
@ipelupessy The suggestion for that test was very useful. I added it and fixed the implementation accordingly. |
6d74f96
to
3d33a13
Compare
No description provided.