Gravity_current: compute v^2 KE if f != 0
This change allows the gravity_current case to compute the v^2 component of the kinetic energy term even if NY=1 when rot_f != 0; in that case the solution can still develop a 2D geostrophic balance where v-velocity balances a pressure gradient. Additionally, the respective component sums are explicitly initialized to 0.
Showing
Please register or sign in to comment