- 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/trcnam.F90
r4147 r4148 60 60 !! 61 61 NAMELIST/namtrc/ nn_dttrc, nn_writetrc, ln_rsttr, nn_rsttr, & 62 & cn_trcrst_in, cn_trcrst_out, sn_tracer, ln_trcdta, ln_trcdmp,&63 & ln_t op_euler62 & cn_trcrst_in, cn_trcrst_out, sn_tracer, ln_trcdta, & 63 & ln_trcdmp, ln_trcdmp_clo, ln_top_euler 64 64 #if defined key_trdmld_trc || defined key_trdtrc 65 65 NAMELIST/namtrc_trd/ nn_trd_trc, nn_ctls_trc, rn_ucf_trc, & … … 109 109 WRITE(numout,*) ' Read inputs data from file (y/n) ln_trcdta = ', ln_trcdta 110 110 WRITE(numout,*) ' Damping of passive tracer (y/n) ln_trcdmp = ', ln_trcdmp 111 WRITE(numout,*) ' Restoring of tracer on closed seas ln_trcdmp_clo = ', ln_trcdmp_clo 111 112 WRITE(numout,*) ' Use euler integration for TRC (y/n) ln_top_euler = ', ln_top_euler 112 113 WRITE(numout,*) ' ' … … 170 171 171 172 172 IF( ln_trcdmp .AND. .NOT.ln_trcdta ) THEN 173 CALL ctl_warn( 'trc_nam: passive tracer damping requires data from files we set ln_trcdta to TRUE' ) 174 ln_trcdta = .TRUE. 175 ENDIF 173 IF( ln_rsttr ) ln_trcdta = .FALSE. ! restart : no need of clim data 176 174 ! 177 IF( ln_rsttr .AND. .NOT.ln_trcdmp .AND. ln_trcdta ) THEN 178 CALL ctl_warn( 'trc_nam: passive tracer restart and data intialisation, ', & 179 & 'we keep the restart values and set ln_trcdta to FALSE' ) 180 ln_trcdta = .FALSE. 181 ENDIF 175 IF( ln_trcdmp .OR. ln_trcdmp_clo ) ln_trcdta = .TRUE. ! damping : need to have clim data 182 176 ! 183 177 IF( .NOT.ln_trcdta ) THEN … … 188 182 IF( ln_rsttr ) THEN 189 183 WRITE(numout,*) 190 WRITE(numout,*) ' read a restart file for passive tracer : ', TRIM( cn_trcrst_in ) 191 WRITE(numout,*) 192 ELSE 193 IF( .NOT.ln_trcdta ) THEN 194 WRITE(numout,*) 195 WRITE(numout,*) ' All the passive tracers are initialised with constant values ' 196 WRITE(numout,*) 197 ENDIF 184 WRITE(numout,*) ' Read a restart file for passive tracer : ', TRIM( cn_trcrst_in ) 185 WRITE(numout,*) 186 ENDIF 187 IF( ln_trcdta .AND. .NOT.ln_rsttr ) THEN 188 WRITE(numout,*) 189 WRITE(numout,*) ' Some of the passive tracers are initialised from climatologies ' 190 WRITE(numout,*) 191 ENDIF 192 IF( .NOT.ln_trcdta ) THEN 193 WRITE(numout,*) 194 WRITE(numout,*) ' All the passive tracers are initialised with constant values ' 195 WRITE(numout,*) 198 196 ENDIF 199 197 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.