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 6904 for branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/CONFIG/OVERFLOW/MY_SRC/usrdef_istate.F90 – NEMO

Ignore:
Timestamp:
2016-09-01T12:17:31+02:00 (8 years ago)
Author:
gm
Message:

#1692 - branch SIMPLIF_2_usrdef: OVERFLOW configuration (zco & sco) + small bug corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/CONFIG/OVERFLOW/MY_SRC/usrdef_istate.F90

    r6900 r6904  
    1414   !!---------------------------------------------------------------------- 
    1515   USE par_oce        ! ocean space and time domain 
     16   USE dom_oce , ONLY : gphit  
    1617   USE phycst         ! physical constants 
    1718   ! 
     
    6162      ! 
    6263      !                          ! T & S profiles 
    63       zdam = 20.e+3 
    64       pts(:,:,:,jp_tem) = 20._wp * tmask(:,:,:) 
     64      zdam = 20.                      ! in kilometers 
     65      pts(:,:,:,jp_tem) = 20._wp * ptmask(:,:,:) 
    6566      DO jk = 1, jpkm1 
    66          WHERE( gphit(:,:) <= zdam )   pts(:,:,jk,jp_tem) = 10._wp * tmask(:,:,jk) 
     67         WHERE( gphit(:,:) <= zdam )   pts(:,:,jk,jp_tem) = 10._wp * ptmask(:,:,jk) 
    6768      END DO 
    6869      ! 
    69       pts(:,:,:,jp_sal) = 35. * tmask(:,:,:) 
     70      pts(:,:,:,jp_sal) = 35._wp * ptmask(:,:,:) 
    7071      !    
    7172   END SUBROUTINE usr_def_istate 
Note: See TracChangeset for help on using the changeset viewer.