Changeset 2423 for trunk/NEMO/TOP_SRC/C14b/trcctl_c14b.F90
- Timestamp:
- 2010-11-24T16:37:34+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/TOP_SRC/C14b/trcctl_c14b.F90
r1252 r2423 33 33 !! ** Purpose : control the cpp options, namelist and files 34 34 !!---------------------------------------------------------------------- 35 36 35 IF(lwp) THEN 37 36 WRITE(numout,*) ' C14 bomb Model ' … … 41 40 ! Check number of tracers 42 41 ! ----------------------- 43 IF( jp_c14b > 1) THEN 44 IF(lwp) THEN 45 WRITE (numout,*) ' ===>>>> : w a r n i n g ' 46 WRITE (numout,*) ' ======= ============= ' 47 WRITE (numout,*) & 48 & ' STOP, change jp_c14b to 1 in par_C14b module ' 49 END IF 50 STOP 'TRC_CTL' 51 END IF 42 IF( jp_c14b > 1) CALL ctl_stop( ' Change jp_c14b to be equal 1 in par_c14b.F90' ) 52 43 53 44 ! Check tracer names 54 45 ! ------------------ 55 IF ( ctrcnm(jpc14) /= 'C14B' ) THEN 46 IF ( ctrcnm(jpc14) /= 'C14B' ) THEN 56 47 ctrcnm(jpc14) = 'C14B' 57 48 ctrcnl(jpc14) = 'Bomb C14 concentration' … … 59 50 60 51 IF(lwp) THEN 61 WRITE (numout,*) ' ===>>>> : w a r n i n g ' 62 WRITE (numout,*) ' ======= ============= ' 63 WRITE (numout,*) ' we force tracer names' 52 CALL ctl_warn( ' we force tracer names' ) 64 53 WRITE(numout,*) ' tracer nb: ',jpc14,' name = ',ctrcnm(jpc14), ctrcnl(jpc14) 65 54 WRITE(numout,*) ' ' 66 ENDIF 67 55 ENDIF 68 56 69 57 ! Check tracer units … … 72 60 ctrcun(jpc14) = 'ration' 73 61 IF(lwp) THEN 74 WRITE (numout,*) ' ===>>>> : w a r n i n g ' 75 WRITE (numout,*) ' ======= ============= ' 76 WRITE (numout,*) ' we force tracer unit' 62 CALL ctl_warn( ' we force tracer unit' ) 77 63 WRITE(numout,*) ' tracer ',ctrcnm(jpc14), 'UNIT= ',ctrcun(jpc14) 78 64 WRITE(numout,*) ' ' 79 ENDIF 80 ENDIF 65 ENDIF 66 ENDIF 81 67 ! 82 68 END SUBROUTINE trc_ctl_c14b
Note: See TracChangeset
for help on using the changeset viewer.