This relationship simplifies both the governing equations above and the boundary conditions that need to be satisfied at the free surface and the ocean bottom (see section 5.3):

The pressure gradient terms and can be derived from equation (36):

The horizontal viscosity terms and are given by: