Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Slope calculations

dhruvbalwada

Dhruv Balwada
New Member
I was looking through a few of the MOM6 F90 files where slopes are defined: MOM_isopycnal_slopes.F90 (e.g line 325) or MOM_thickness_diffuse.F90 (e.g. line 994).
I noticed that the slope is defined as (for example):
```
slope = (e(i,j,K)-e(i+1,j,K)) * G%IdxCu(I,j)
```
I am wondering why is this definition of slope = - d \eta /dx used, which also corresponds to (d_x \rho /d_z \rho)? Rather than the more standard definition, which would have a minus in front of what is used (d \eta/dx or - d_x \rho /d_z \rho)?
(*Or maybe I am just being thick)
 
Top