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 2082 for branches/DEV_r2006_merge_TRA_TRC/NEMO/OPA_SRC/istate.F90 – NEMO

Ignore:
Timestamp:
2010-09-10T12:32:58+02:00 (14 years ago)
Author:
cetlod
Message:

Improve the merge of TRA-TRC, see ticket #717

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r2006_merge_TRA_TRC/NEMO/OPA_SRC/istate.F90

    r1566 r2082  
    4242   USE dynspg_exp      ! pressure gradient schemes 
    4343   USE dynspg_ts       ! pressure gradient schemes 
     44   USE traswp          ! Swap arrays                      (tra_swp routine) 
    4445    
    4546   IMPLICIT NONE 
     
    122123         ENDIF 
    123124 
    124          CALL eos( tb, sb, rhd, rhop )        ! before potential and in situ densities 
     125         ta(:,:,:) = 0.       ;     sa(:,:,:) = 0. 
     126         CALL tra_swap 
     127         CALL eos( tsb, rhd, rhop )        ! before potential and in situ densities 
    125128          
    126129         IF( ln_zps .AND. .NOT. lk_c1d )   & 
    127             &             CALL zps_hde( nit000, tb, sb, rhd,  &  ! Partial steps: before Horizontal DErivative 
    128             &                                  gtu, gsu, gru, &  ! of t, s, rd at the bottom ocean level 
    129             &                                  gtv, gsv, grv ) 
     130                          CALL zps_hde( nit000, 'TRA', tsb, gtsu, gtsv,  &    ! Partial steps: before horizontal gradient 
     131            &                                          rhd, gru , grv , jpts )      ! of t, s, rd at the last ocean level 
    130132          
    131133      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.