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 4595 for branches/2012 – NEMO

Changeset 4595 for branches/2012


Ignore:
Timestamp:
2014-03-26T11:50:35+01:00 (10 years ago)
Author:
pabouttier
Message:

Change the timing condition to print control message in tra_adv_adj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPATAM_SRC/TRA/traadv_tam.F90

    r3611 r4595  
    102102      zwntl(:,:,jpk) = 0._wp                                                     ! no transport trough the bottom 
    103103      ! 
    104       IF(lwp) WRITE(numout,*) ' tra_adv_tam: 2nd order scheme is forced in TAM' 
    105       nadv = 1 ! force tra_adv_cen2 for tangent 
     104      IF ( kt == nit000 ) THEN 
     105         IF(lwp) WRITE(numout,*) ' tra_adv_tam: 2nd order scheme is forced in TAM' 
     106         nadv = 1 ! force tra_adv_cen2 for tangent 
     107      END IF  
    106108 
    107109      SELECT CASE ( nadv )                           ! compute advection trend and add it to general trend 
     
    155157      zwn(:,:,jpk) = 0._wp                                                     ! no transport trough the bottom 
    156158      ! 
    157       IF(lwp) WRITE(numout,*) ' tra_adv_tam: 2nd order scheme is forced in TAM' 
    158       nadv = 1 ! force tra_adv_cen2 for adjoint 
     159      IF ( kt == nitend ) THEN 
     160         IF(lwp) WRITE(numout,*) ' tra_adv_tam: 2nd order scheme is forced in TAM' 
     161         nadv = 1 ! force tra_adv_cen2 for adjoint 
     162      END IF 
    159163      ! 
    160164      SELECT CASE ( nadv )                           ! compute advection trend and add it to general trend 
Note: See TracChangeset for help on using the changeset viewer.