- Timestamp:
- 2015-10-22T17:18:18+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/NERC/dev_r5589_is_oce_cpl/NEMOGCM/NEMO/OPA_SRC/DIA/diahsb.F90
r5820 r5823 140 140 ! 2 - Content variations ! 141 141 ! ------------------------ ! 142 ! glob_sum_full is needed because you keep the full interior domain to compute the sum (iscpl) 142 143 zdiff_v2 = 0._wp 143 144 zdiff_hc = 0._wp … … 160 161 z2d1(:,:) = surf(:,:) * ( tsn(:,:,1,jp_sal) * sshn(:,:) - ssh_sc_loc_ini(:,:) ) 161 162 END IF 162 z_ssh_hc = glob_sum ( z2d0 )163 z_ssh_sc = glob_sum ( z2d1 )163 z_ssh_hc = glob_sum_full( z2d0 ) 164 z_ssh_sc = glob_sum_full( z2d1 ) 164 165 ENDIF 165 166 … … 201 202 ! ENDIF 202 203 !!gm end 203 IF ( lk_vvl ) THEN204 IF (lwp) PRINT *, 'cons heat : ', kt, zdiff_hc / zvol_tot, zdiff_sc / zvol_tot205 IF (lwp) PRINT *, 'cons volu : ', kt, zdiff_v2 * 1.e-9206 ELSE207 IF (lwp) PRINT *, 'cons heat : ', kt, zdiff_hc1 * 1.e-20 * rau0 * rcp, zdiff_sc1 * 1.e-9208 IF (lwp) PRINT *, 'cons vol : ', kt, zdiff_v1 * 1.e-9209 END IF210 204 IF( lk_vvl ) THEN 211 205 CALL iom_put( 'bgtemper' , zdiff_hc / zvol_tot ) ! Temperature variation (C) … … 269 263 CALL iom_get( numror, 'frc_wn_s', frc_wn_s ) 270 264 ENDIF 271 CALL iom_get( numror, jpdom_autoglo, 'surf_ini', surf_ini ) 265 CALL iom_get( numror, jpdom_autoglo, 'surf_ini', surf_ini ) ! ice sheet coupling 272 266 CALL iom_get( numror, jpdom_autoglo, 'ssh_ini', ssh_ini ) 273 267 CALL iom_get( numror, jpdom_autoglo, 'e3t_ini', e3t_ini ) … … 323 317 CALL iom_rstput( kt, nitrst, numrow, 'frc_wn_s', frc_wn_s ) 324 318 ENDIF 325 CALL iom_rstput( kt, nitrst, numrow, 'surf_ini', surf_ini ) 319 CALL iom_rstput( kt, nitrst, numrow, 'surf_ini', surf_ini ) ! ice sheet coupling 326 320 CALL iom_rstput( kt, nitrst, numrow, 'ssh_ini', ssh_ini ) 327 321 CALL iom_rstput( kt, nitrst, numrow, 'e3t_ini', e3t_ini )
Note: See TracChangeset
for help on using the changeset viewer.