New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 13424 for branches/UKMO – NEMO

Changeset 13424 for branches/UKMO


Ignore:
Timestamp:
2020-08-21T16:45:04+02:00 (4 years ago)
Author:
dancopsey
Message:

Enable turning off of iceberg prints when nn_print=0

Location:
branches/UKMO/dev_r5518_GO6_reduce_iceberg_output/NEMOGCM/NEMO/OPA_SRC
Files:
3 edited

Legend:

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

    r12233 r13424  
    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 .AND. (nn_print>0) 
    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_reduce_iceberg_output/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r11107 r13424  
    11311131      !!---------------------------------------------------------------------- 
    11321132 
    1133       ll_wrtstp  = ( MOD( kt, sn_cfctl%ptimincr ) == 0 ) .OR. ( kt == nitend ) 
     1133      ll_wrtstp  = (( MOD( kt, sn_cfctl%ptimincr ) == 0 ) .OR. ( kt == nitend )) .AND. (nn_print>0) 
    11341134      ! 
    11351135      IF( nn_timing.gt.0 .and. nn_timing .le. 2 )  CALL timing_start('sbc_cpl_rcv') 
  • branches/UKMO/dev_r5518_GO6_reduce_iceberg_output/NEMOGCM/NEMO/OPA_SRC/SBC/sbcisf.F90

    r11101 r13424  
    101101      ! 
    102102      ! 
    103       ll_wrtstp  = ( MOD( kt, sn_cfctl%ptimincr ) == 0 ) .OR. ( kt == nitend ) 
     103      ll_wrtstp  = (( MOD( kt, sn_cfctl%ptimincr ) == 0 ) .OR. ( kt == nitend )) .AND. (nn_print>0) 
    104104      !                                         ! ====================== ! 
    105105      IF( kt == nit000 ) THEN                   !  First call kt=nit000  ! 
Note: See TracChangeset for help on using the changeset viewer.