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 11404 for branches/UKMO/dev_r5518_GO6_package_FOAMv14_STOPACK/NEMOGCM/NEMO/OPA_SRC/TRA/traqsr.F90 – NEMO

Ignore:
Timestamp:
2019-08-06T11:15:02+02:00 (5 years ago)
Author:
mattmartin
Message:

Included control of the STOPACK options so that it can be switched on/off with the main ln_stopack logical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_FOAMv14_STOPACK/NEMOGCM/NEMO/OPA_SRC/TRA/traqsr.F90

    r11400 r11404  
    184184         ! 
    185185         !  
    186          IF( nn_spp_qsi0 > 0 ) THEN 
     186         IF( ln_stopack .AND. ( nn_spp_qsi0 > 0 ) ) THEN 
    187187             xsi0r = rn_si0 
    188188             CALL spp_gen(kt, xsi0r, nn_spp_qsi0, rn_qsi0_sd, jk_spp_qsi0 ) 
     
    317317            !                                             ! ------------------------- ! 
    318318            ! 
    319             IF( lk_vvl .OR. nn_spp_qsi0 > 0 ) THEN        !* variable volume 
     319            IF( lk_vvl .OR. ( ln_stopack .AND. ( nn_spp_qsi0 > 0 ) ) ) THEN        !* variable volume 
    320320 
    321321               zz0   =        rn_abs   * r1_rau0_rcp 
Note: See TracChangeset for help on using the changeset viewer.