- Timestamp:
- 2013-11-04T13:54:28+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/TOP_SRC/TRP/trcnam_trp.F90
r4147 r4148 13 13 !! trc_nam_trp : read the passive tracer namelist for transport 14 14 !!---------------------------------------------------------------------- 15 USE trc ! ocean passive tracers variables 15 USE oce_trc ! shared ocean passive tracers variables 16 USE trc ! passive tracers variables 16 17 USE in_out_manager ! ocean dynamics and active tracers variables 17 18 USE lib_mpp ! distributed memory computing library … … 49 50 INTEGER , PUBLIC :: nn_trczdf_exp !: number of sub-time step (explicit time stepping) 50 51 51 52 #if defined key_trcdmp53 52 ! !!: ** newtonian damping namelist (nam_trcdmp) ** 54 INTEGER , PUBLIC :: nn_hdmp_tr = -1 ! = 0/-1/'latitude' for damping over passive tracer55 INTEGER , PUBLIC :: nn_ zdmp_tr = 0 ! = 0/1/2 flag for damping in the mixed layer56 REAL(wp), PUBLIC :: rn_surf_tr = 50. ! surface time scale for internal damping [days]57 REAL(wp), PUBLIC :: rn_ bot_tr = 360. ! bottom time scale for internal damping[days]58 REAL(wp), PUBLIC :: rn_ dep_tr = 800. ! depth of transition between rn_surf and rn_bot [meters]59 INTEGER , PUBLIC :: nn_file_tr = 2 ! = 1 create a damping.coeff NetCDF file60 #endif 53 ! !!* Namelist namtrc_dmp : passive tracer newtonian damping * 54 INTEGER , PUBLIC :: nn_hdmp_tr ! = 0/-1/'latitude' for damping over passive tracer 55 INTEGER , PUBLIC :: nn_zdmp_tr ! = 0/1/2 flag for damping in the mixed layer 56 REAL(wp), PUBLIC :: rn_surf_tr ! surface time scale for internal damping [days] 57 REAL(wp), PUBLIC :: rn_bot_tr ! bottom time scale for internal damping [days] 58 REAL(wp), PUBLIC :: rn_dep_tr ! depth of transition between rn_surf and rn_bot [meters] 59 INTEGER , PUBLIC :: nn_file_tr ! = 1 create a damping.coeff NetCDF file 61 60 62 61 !!---------------------------------------------------------------------- … … 84 83 NAMELIST/namtrc_zdf/ ln_trczdf_exp , nn_trczdf_exp 85 84 NAMELIST/namtrc_rad/ ln_trcrad 86 #if defined key_trcdmp 87 NAMELIST/namtrc_dmp/ ln_trcdmp, nn_hdmp_tr, nn_zdmp_tr, rn_surf_tr, & 85 NAMELIST/namtrc_dmp/ nn_hdmp_tr, nn_zdmp_tr, rn_surf_tr, & 88 86 & rn_bot_tr , rn_dep_tr , nn_file_tr 89 #endif90 87 !!---------------------------------------------------------------------- 91 88 … … 174 171 175 172 176 # if defined key_trcdmp177 173 REWIND( numnat_ref ) ! Namelist namtrc_dmp in reference namelist : Passive tracers newtonian damping 178 174 READ ( numnat_ref, namtrc_dmp, IOSTAT = ios, ERR = 909) … … 184 180 WRITE ( numont, namtrc_dmp ) 185 181 186 IF( lzoom ) nn_zdmp_tr c= 0 ! restoring to climatology at closed north or south boundaries182 IF( lzoom ) nn_zdmp_tr = 0 ! restoring to climatology at closed north or south boundaries 187 183 188 184 IF(lwp) THEN ! Namelist print … … 191 187 WRITE(numout,*) '~~~~~~~' 192 188 WRITE(numout,*) ' Namelist namtrc_dmp : set damping parameter' 193 WRITE(numout,*) ' add a damping term or not ln_trcdmp = ', ln_trcdmp194 189 WRITE(numout,*) ' tracer damping option nn_hdmp_tr = ', nn_hdmp_tr 195 190 WRITE(numout,*) ' mixed layer damping option nn_zdmp_tr = ', nn_zdmp_tr, '(zoom: forced to 0)' … … 199 194 WRITE(numout,*) ' create a damping.coeff file nn_file_tr = ', nn_file_tr 200 195 ENDIF 201 #endif202 196 ! 203 197 END SUBROUTINE trc_nam_trp
Note: See TracChangeset
for help on using the changeset viewer.