Changeset 12060


Ignore:
Timestamp:
2019-12-05T09:36:39+01:00 (8 months ago)
Author:
andmirek
Message:

GMED 450 print only with lwp/lwm

Location:
branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC/ICB/icbclv.F90

    r10753 r12060  
    6969      ! nn_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true 
    7070      IF( nn_coupled_iceshelf_fluxes .gt. 0 ) THEN 
    71         ll_write = ( MOD( kt, sn_cfctl%ptimincr ) == 0 ) .OR. ( kt == nitend ) .AND. lwp 
     71        ll_write = ((MOD( kt, sn_cfctl%ptimincr ) == 0) .OR. ( kt == nitend )) .AND. lwp 
    7272        ! Adjust total calving rates so that sum of iceberg calving and iceshelf melting in the northern 
    7373        ! and southern hemispheres equals rate of increase of mass of greenland and antarctic ice sheets 
  • branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC/stpctl.F90

    r10878 r12060  
    100100      IF( lk_mpp )   CALL mpp_max( zumax )                 ! max over the global domain 
    101101      ! 
    102       IF( ll_colruns )   THEN 
     102      IF( ll_colruns .AND. lwp )   THEN 
    103103         WRITE(numout,*) ' ==>> time-step= ',kt,' abs(U) max: ', zumax 
    104104         IF(lflush) CALL flush(numout) 
     
    250250         ENDIF 
    251251         ! 
    252          IF( ll_colruns ) THEN 
     252         IF( ll_wrtruns ) THEN 
    253253            zssh2 = SUM( sshn(:,:) * sshn(:,:) * tmask_i(:,:) ) 
    254254            IF( lk_mpp )   CALL mpp_sum( zssh2 )      ! sum over the global domain 
Note: See TracChangeset for help on using the changeset viewer.