New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 15649 – NEMO

Changeset 15649


Ignore:
Timestamp:
2022-01-17T16:52:19+01:00 (2 years ago)
Author:
dancopsey
Message:

Move location of where the scaling is applied to within the brackets. This gives a smoother profile with the largest reductions in mid latitudes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.4_GO6_mixing/src/OCE/ZDF/zdftke.F90

    r15643 r15649  
    827827               DO ji = fs_2, fs_jpim1   ! vector opt. 
    828828                  IF( gphit(ji,jj) <= 0._wp ) THEN 
    829                      htau(ji,jj) = MAX(  0.5_wp, rn_htau_scaling*MIN( 30._wp, 45._wp* ABS( SIN( rpi/180._wp * gphit(ji,jj) ) ) )   ) 
     829                     htau(ji,jj) = MAX(  0.5_wp, MIN( 30._wp, 45._wp* rn_htau_scaling*ABS( SIN( rpi/180._wp * gphit(ji,jj) ) ) )   ) 
    830830                  ELSE 
    831                      htau(ji,jj) = MAX(  0.5_wp, rn_htau_scaling*MIN( 10._wp, 45._wp* ABS( SIN( rpi/180._wp * gphit(ji,jj) ) ) )   ) 
     831                     htau(ji,jj) = MAX(  0.5_wp, MIN( 10._wp, 45._wp* rn_htau_scaling*ABS( SIN( rpi/180._wp * gphit(ji,jj) ) ) )   ) 
    832832                  ENDIF 
    833833               END DO 
Note: See TracChangeset for help on using the changeset viewer.