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 4245 for branches/2013/dev_LOCEAN_CMCC_INGV_MERC_UKMO_2013/NEMOGCM/NEMO/OPA_SRC/TRA/traadv_mle.F90 – NEMO

Ignore:
Timestamp:
2013-11-19T12:19:21+01:00 (10 years ago)
Author:
cetlod
Message:

dev_locean_cmcc_ingv_ukmo_merc : merge in the MERC_UKMO dev branch with trunk rev 4119

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_CMCC_INGV_MERC_UKMO_2013/NEMOGCM/NEMO/OPA_SRC/TRA/traadv_mle.F90

    r4244 r4245  
    2929 
    3030   !                                               !!* namelist namtra_adv_mle * 
    31    LOGICAL, PUBLIC ::   ln_mle    = .TRUE.          ! flag to activate the Mixed Layer Eddy (MLE) parameterisation 
    32    INTEGER         ::   nn_mle    = 0               ! MLE type: =0 standard Fox-Kemper ; =1 new formulation 
    33    INTEGER         ::   nn_mld_uv = 0               ! space interpolation of MLD at u- & v-pts (0=min,1=averaged,2=max) 
    34    INTEGER         ::   nn_conv   = 0               ! =1 no MLE in case of convection ; =0 always MLE 
    35    REAL(wp)        ::   rn_ce   = 0.06_wp           ! MLE coefficient 
    36    !                                                ! parameters used in nn_mle = 0 case 
    37    REAL(wp)        ::   rn_lf   = 5.e+3_wp               ! typical scale of mixed layer front 
    38    REAL(wp)        ::   rn_time = 2._wp * 86400._wp      ! time scale for mixing momentum across the mixed layer 
    39    !                                                ! parameters used in nn_mle = 1 case 
    40    REAL(wp)        ::   rn_lat  = 20._wp                 ! reference latitude for a 5 km scale of ML front 
    41    REAL(wp)        ::   rn_rho_c_mle  = 0.01        ! Density criterion for definition of MLD used by FK 
     31   LOGICAL, PUBLIC ::   ln_mle              ! flag to activate the Mixed Layer Eddy (MLE) parameterisation 
     32   INTEGER         ::   nn_mle              ! MLE type: =0 standard Fox-Kemper ; =1 new formulation 
     33   INTEGER         ::   nn_mld_uv           ! space interpolation of MLD at u- & v-pts (0=min,1=averaged,2=max) 
     34   INTEGER         ::   nn_conv             ! =1 no MLE in case of convection ; =0 always MLE 
     35   REAL(wp)        ::   rn_ce               ! MLE coefficient 
     36   !                                           ! parameters used in nn_mle = 0 case 
     37   REAL(wp)        ::   rn_lf                  ! typical scale of mixed layer front 
     38   REAL(wp)        ::   rn_time             ! time scale for mixing momentum across the mixed layer 
     39   !                                             ! parameters used in nn_mle = 1 case 
     40   REAL(wp)        ::   rn_lat                   ! reference latitude for a 5 km scale of ML front 
     41   REAL(wp)        ::   rn_rho_c_mle         ! Density criterion for definition of MLD used by FK 
    4242 
    4343   REAL(wp) ::   r5_21 = 5.e0 / 21.e0   ! factor used in mle streamfunction computation 
     
    271271      INTEGER  ::   ji, jj, jk   ! dummy loop indices 
    272272      INTEGER  ::   ierr 
     273      INTEGER ::    ios                 ! Local integer output status for namelist read 
    273274      REAL(wp) ::   z1_t2, zfu, zfv                                !    -         - 
    274275      ! 
     
    276277      !!---------------------------------------------------------------------- 
    277278 
    278       REWIND ( numnam )                ! Read Namelist namtra_adv_mle : mixed layer eddy advection acting on tracers 
    279       READ   ( numnam, namtra_adv_mle ) 
     279 
     280      REWIND( numnam_ref )              ! Namelist namtra_adv_mle in reference namelist : Tracer advection scheme 
     281      READ  ( numnam_ref, namtra_adv_mle, IOSTAT = ios, ERR = 901) 
     282901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_adv_mle in reference namelist', lwp ) 
     283 
     284      REWIND( numnam_cfg )              ! Namelist namtra_adv_mle in configuration namelist : Tracer advection scheme 
     285      READ  ( numnam_cfg, namtra_adv_mle, IOSTAT = ios, ERR = 902 ) 
     286902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_adv_mle in configuration namelist', lwp ) 
     287      WRITE ( numond, namtra_adv_mle ) 
    280288 
    281289      IF(lwp) THEN                     ! Namelist print 
Note: See TracChangeset for help on using the changeset viewer.