Changeset 2038 for branches/DEV_r2006_merge_TRA_TRC/NEMO/TOP_SRC/trcini.F90
- Timestamp:
- 2010-08-02T12:57:40+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r2006_merge_TRA_TRC/NEMO/TOP_SRC/trcini.F90
r1970 r2038 18 18 USE oce_trc 19 19 USE trc 20 USE trp_trc21 20 USE trcrst 22 USE trcctl 23 USE trclec 21 USE trcnam ! Namelist read 24 22 USE trcini_cfc ! CFC initialisation 25 23 USE trcini_lobster ! LOBSTER initialisation … … 28 26 USE trcini_my_trc ! MY_TRC initialisation 29 27 USE trcdta 30 #if defined key_off _tra28 #if defined key_offline 31 29 USE daymod 32 30 #endif 33 USE zpshde _trc ! partial step: hor. derivative31 USE zpshde ! partial step: hor. derivative (zps_hde_trc routine) 34 32 USE in_out_manager ! I/O manager 35 33 USE prtctl_trc ! Print control passive tracers (prt_ctl_trc_init routine) … … 78 76 79 77 ! total volume of the ocean 80 #if ! defined key_ off_degrad78 #if ! defined key_degrad 81 79 areatot = SUM( cvol(:,:,:) ) 82 80 #else 83 areatot = SUM( cvol(:,:,:) * facvol(:,:,:) ) ! degrad option: reduction by facvol81 areatot = SUM( cvol(:,:,:) * facvol(:,:,:) ) ! degrad option: reduction by facvol 84 82 #endif 85 IF( lk_mpp ) CALL mpp_sum( areatot ) ! sum over the global domain83 IF( lk_mpp ) CALL mpp_sum( areatot ) ! sum over the global domain 86 84 87 CALL trc_ lec ! READpassive tracers namelists85 CALL trc_nam ! read passive tracers namelists 88 86 89 CALL trc_ctl ! control consistency between parameters, cpp key 87 ! restart for passive tracer (input) 88 IF( ln_rsttr ) THEN 89 IF(lwp) WRITE(numout,*) ' read a restart file for passive tracer : ', cn_trcrst_in 90 IF(lwp) WRITE(numout,*) ' ' 91 ELSE 92 IF(lwp) WRITE(numout,*) 93 DO jn = 1, jptra 94 IF( lwp .AND. lutini(jn) ) & ! open input FILE only IF lutini(jn) is true 95 & WRITE(numout,*) ' read an initial file for passive tracer number :', jn, ' traceur : ', ctrcnm(jn) 96 END DO 97 ENDIF 90 98 91 99 IF( lk_lobster ) THEN ; CALL trc_ini_lobster ! LOBSTER bio-model … … 110 118 111 119 IF( .NOT. ln_rsttr ) THEN 112 #if defined key_off _tra120 #if defined key_offline 113 121 CALL day_init ! calendar 114 122 #endif … … 130 138 131 139 IF( ln_zps .AND. .NOT. lk_trc_c1d ) & ! Partial steps: before horizontal gradient of passive 132 & CALL zps_hde_trc( nittrc000, trb, gtru, gtrv ) ! tracers at the bottom ocean level140 & CALL zps_hde_trc( nittrc000, jptra, trb, gtru, gtrv ) ! tracers at the bottom ocean level 133 141 134 142 … … 136 144 trai = 0.e0 137 145 DO jn = 1, jptra 138 #if ! defined key_ off_degrad146 #if ! defined key_degrad 139 147 trai = trai + SUM( trn(:,:,:,jn) * cvol(:,:,:) ) 140 148 #else
Note: See TracChangeset
for help on using the changeset viewer.