Changeset 9526 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/TRP
- Timestamp:
- 2018-04-30T12:22:35+02:00 (6 years ago)
- Location:
- branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/TRP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/TRP/trcadv.F90
r9169 r9526 39 39 40 40 ! !!* Namelist namtrc_adv * 41 LOGICAL :: ln_trcadv_ NONE! no advection on passive tracers41 LOGICAL :: ln_trcadv_OFF ! no advection on passive tracers 42 42 LOGICAL :: ln_trcadv_cen ! centered scheme flag 43 43 INTEGER :: nn_cen_h, nn_cen_v ! =2/4 : horizontal and vertical choices of the order of CEN scheme … … 155 155 INTEGER :: ioptio, ios ! Local integer 156 156 !! 157 NAMELIST/namtrc_adv/ ln_trcadv_ NONE,& ! No advection157 NAMELIST/namtrc_adv/ ln_trcadv_OFF, & ! No advection 158 158 & ln_trcadv_cen, nn_cen_h, nn_cen_v, & ! CEN 159 159 & ln_trcadv_fct, nn_fct_h, nn_fct_v, & ! FCT … … 177 177 WRITE(numout,*) '~~~~~~~~~~~' 178 178 WRITE(numout,*) ' Namelist namtrc_adv : chose a advection scheme for tracers' 179 WRITE(numout,*) ' No advection on passive tracers ln_trcadv_ NONE= ', ln_trcadv_NONE179 WRITE(numout,*) ' No advection on passive tracers ln_trcadv_OFF = ', ln_trcadv_OFF 180 180 WRITE(numout,*) ' centered scheme ln_trcadv_cen = ', ln_trcadv_cen 181 181 WRITE(numout,*) ' horizontal 2nd/4th order nn_cen_h = ', nn_fct_h … … 193 193 ! !== Parameter control & set nadv ==! 194 194 ioptio = 0 195 IF( ln_trcadv_ NONE) THEN ; ioptio = ioptio + 1 ; nadv = np_NO_adv ; ENDIF196 IF( ln_trcadv_cen 197 IF( ln_trcadv_fct 198 IF( ln_trcadv_mus 199 IF( ln_trcadv_ubs 200 IF( ln_trcadv_qck 195 IF( ln_trcadv_OFF ) THEN ; ioptio = ioptio + 1 ; nadv = np_NO_adv ; ENDIF 196 IF( ln_trcadv_cen ) THEN ; ioptio = ioptio + 1 ; nadv = np_CEN ; ENDIF 197 IF( ln_trcadv_fct ) THEN ; ioptio = ioptio + 1 ; nadv = np_FCT ; ENDIF 198 IF( ln_trcadv_mus ) THEN ; ioptio = ioptio + 1 ; nadv = np_MUS ; ENDIF 199 IF( ln_trcadv_ubs ) THEN ; ioptio = ioptio + 1 ; nadv = np_UBS ; ENDIF 200 IF( ln_trcadv_qck ) THEN ; ioptio = ioptio + 1 ; nadv = np_QCK ; ENDIF 201 201 ! 202 202 IF( ioptio /= 1 ) CALL ctl_stop( 'trc_adv_ini: Choose ONE advection option in namelist namtrc_adv' ) -
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.