- Timestamp:
- 2020-03-13T17:33:02+01:00 (4 years ago)
- Location:
- branches/UKMO/dev_r5518_GO6_starthour_obsoper/NEMOGCM/NEMO/TOP_SRC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_starthour_obsoper/NEMOGCM/NEMO/TOP_SRC/trcini.F90
r9262 r12555 119 119 CALL trc_ice_ini ! Tracers in sea ice 120 120 121 IF( ln_ctl ) THEN 122 ! 123 IF (narea == 1) THEN 124 ! The tracer.stat file only contains global tracer sum values, if 125 ! it contains anything at all. Hence it only needs to be opened 126 ! and written to on the master PE, not on all PEs. 127 CALL ctl_opn( numstr, 'tracer.stat', 'REPLACE','FORMATTED', & 128 'SEQUENTIAL', -1, numout, lwp , narea ) 129 ENDIF 130 ! 131 ENDIF 121 ! 122 IF (lwm .AND. sn_cfctl%l_trcstat) THEN 123 ! The tracer.stat file only contains global tracer sum values, if 124 ! it contains anything at all. Hence it only needs to be opened 125 ! and written to on the master PE, not on all PEs. 126 CALL ctl_opn( numstr, 'tracer.stat', 'REPLACE','FORMATTED', & 127 'SEQUENTIAL', -1, numout, lwp , narea ) 128 ENDIF 129 ! 132 130 133 131 IF( ln_trcdta ) THEN -
branches/UKMO/dev_r5518_GO6_starthour_obsoper/NEMOGCM/NEMO/TOP_SRC/trcstp.F90
r9237 r12555 62 62 INTEGER :: jk, jn ! dummy loop indices 63 63 REAL(wp) :: ztrai 64 LOGICAL :: ll_trcstat ! local logical 64 65 CHARACTER (len=25) :: charout 65 66 !!------------------------------------------------------------------- … … 67 68 IF( nn_timing == 1 ) CALL timing_start('trc_stp') 68 69 ! 70 ll_trcstat = ( ln_ctl .OR. sn_cfctl%l_trcstat ) .AND. & 71 & ( ( MOD( kt, sn_cfctl%ptimincr ) == 0 ) .OR. ( kt == nitend ) ) 69 72 IF( kt == nittrc000 .AND. lk_trdmxl_trc ) CALL trd_mxl_trc_init ! trends: Mixed-layer 70 73 ! … … 120 123 ENDIF 121 124 ! 122 IF (l n_ctl) THEN125 IF (ll_trcstat) THEN 123 126 ! The following code is very expensive since it involves multiple 124 127 ! reproducible global sums over all tracer fields and is potentially
Note: See TracChangeset
for help on using the changeset viewer.