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 11993 for NEMO/trunk/src/OCE/TRA/traadv_qck.F90 – NEMO

Ignore:
Timestamp:
2019-11-28T11:20:53+01:00 (4 years ago)
Author:
cetlod
Message:

trunk : undo bad commit. Oups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/TRA/traadv_qck.F90

    r11989 r11993  
    2121   USE trdtra          ! trends manager: tracers  
    2222   USE diaptr          ! poleward transport diagnostics 
    23    USE iom 
    2423   ! 
    2524   USE in_out_manager  ! I/O manager 
     
    8180      !! ** Action : - update pta  with the now advective tracer trends 
    8281      !!             - send trends to trdtra module for further diagnostcs (l_trdtra=T) 
    83       !!             - poleward advective heat and salt transport (ln_diaptr=T) 
     82      !!             - htr_adv, str_adv : poleward advective heat and salt transport (ln_diaptr=T) 
    8483      !! 
    8584      !! ** Reference : Leonard (1979, 1991) 
     
    104103      l_trd = .FALSE. 
    105104      l_ptr = .FALSE. 
    106       IF( ( cdtype == 'TRA' .AND. l_trdtra ) .OR. ( cdtype == 'TRC' .AND. l_trdtrc ) )   l_trd = .TRUE. 
    107       IF(   cdtype == 'TRA' .AND. ( iom_use( 'sophtadv' ) .OR. iom_use( 'sophtadv' ) ) ) l_ptr = .TRUE.  
     105      IF( ( cdtype == 'TRA' .AND. l_trdtra ) .OR. ( cdtype == 'TRC' .AND. l_trdtrc ) )      l_trd = .TRUE. 
     106      IF(   cdtype == 'TRA' .AND. ln_diaptr )                                              l_ptr = .TRUE.  
    108107      ! 
    109108      ! 
Note: See TracChangeset for help on using the changeset viewer.