gotm-model / code

Source code for the General Ocean Turbulence Model
https://gotm.net
GNU General Public License v2.0
53 stars 44 forks source link

Save dusdz and dvsdz at cell interfaces #39

Closed qingli411 closed 1 year ago

qingli411 commented 1 year ago

This PR fixes a bug that the vertical shear of Stokes drift (dusdz and dvsdz) was defined at the cell center whereas it should be defined at the cell interfaces. This change shouldn't affect the results as in other part of the code where dusdz and dvsdz are used, they are indeed assumed to be defined on cell interfaces.