-
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
Add boundary surface fluxes #451
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.
Looks good to me. The one thing that would/will take me some more time is to carefully check the halo indices, though maybe the unit tests largely take care of this.
Which halo indices? |
The ones in field_mpi. I realise you probably just copied them from the 3D fields though let me know if you would like me to double-check. |
Yes, I copied the 3D ones and removed the vertical direction. |
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.
This looks good to me, Matthias. Let me know if there is anything specific that I should look into. Are there any tests that would be worth putting in with surface fluxes (e.g. conservation)?
Do you think of unit tests? You might have a look at the time step estimate. I put in a estimate to ensure that initial time steps include the boundary fluxes. |
Add boundary surface fluxes for buoyancy and humidity as in MPIC.