- Timestamp:
- 2018-04-30T12:22:35+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/TRP/trcldf.F90
r9490 r9526 34 34 ! 35 35 ! !!: ** lateral mixing namelist (nam_trcldf) ** 36 LOGICAL , PUBLIC :: ln_trcldf_ NONE!: No operator (no explicit lateral diffusion)36 LOGICAL , PUBLIC :: ln_trcldf_OFF !: No operator (no explicit lateral diffusion) 37 37 LOGICAL , PUBLIC :: ln_trcldf_tra !: use active tracer operator 38 38 REAL(wp), PUBLIC :: rn_ldf_multi !: multiplier of T-S eddy diffusivity to obtain the passive tracer one … … 67 67 !!---------------------------------------------------------------------- 68 68 ! 69 IF( ln_trcldf_ NONE ) RETURN! not lateral diffusion applied on passive tracers69 IF( ln_trcldf_OFF ) RETURN ! not lateral diffusion applied on passive tracers 70 70 ! 71 71 IF( ln_timing ) CALL timing_start('trc_ldf') … … 127 127 !! ** Purpose : Define the operator for the lateral diffusion 128 128 !! 129 !! ** Method : - ln_trcldf_tra 129 !! ** Method : - ln_trcldf_tra=T : use nldf_tra set in ldftra module 130 130 !! to defined the passive tracer lateral diffusive operator 131 !! - ln_trcldf_ NONE=T : no explicit diffusion used131 !! - ln_trcldf_OFF=T : no explicit diffusion used 132 132 !!---------------------------------------------------------------------- 133 133 INTEGER :: ios, ioptio ! local integers 134 134 !! 135 NAMELIST/namtrc_ldf/ ln_trcldf_ NONE, ln_trcldf_tra, & ! operator & direction135 NAMELIST/namtrc_ldf/ ln_trcldf_OFF , ln_trcldf_tra, & ! operator & direction 136 136 & rn_ldf_multi , rn_fact_lap ! coefficient 137 137 !!---------------------------------------------------------------------- … … 154 154 IF(lwp) THEN ! Namelist print 155 155 WRITE(numout,*) ' Namelist namtrc_ldf : set lateral mixing parameters (type, direction, coefficients)' 156 WRITE(numout,*) ' no explicit diffusion ln_trcldf_ NONE = ', ln_trcldf_NONE156 WRITE(numout,*) ' no explicit diffusion ln_trcldf_OFF = ', ln_trcldf_OFF 157 157 WRITE(numout,*) ' use active tracer operator ln_trcldf_tra = ', ln_trcldf_tra 158 158 WRITE(numout,*) ' diffusivity coefficient :' 159 WRITE(numout,*) ' multiplier of TRA coef. for TRC 160 WRITE(numout,*) ' enhanced zonal Eq. laplacian coef. 159 WRITE(numout,*) ' multiplier of TRA coef. for TRC rn_ldf_multi = ', rn_ldf_multi 160 WRITE(numout,*) ' enhanced zonal Eq. laplacian coef. rn_fact_lap = ', rn_fact_lap 161 161 162 162 ENDIF … … 165 165 nldf_trc = np_ERROR 166 166 ioptio = 0 167 IF( ln_trcldf_ NONE) THEN ; nldf_trc = np_no_ldf ; ioptio = ioptio + 1 ; ENDIF167 IF( ln_trcldf_OFF ) THEN ; nldf_trc = np_no_ldf ; ioptio = ioptio + 1 ; ENDIF 168 168 IF( ln_trcldf_tra ) THEN ; nldf_trc = nldf_tra ; ioptio = ioptio + 1 ; ENDIF 169 169 IF( ioptio /= 1 ) CALL ctl_stop( 'trc_ldf_ini: use ONE of the 2 operator options (NONE/tra)' )
Note: See TracChangeset
for help on using the changeset viewer.