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/trabbc.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/trabbc.F90

    r11394 r11404  
    9292      !                             !  Add the geothermal heat flux trend on temperature 
    9393 
    94       IF( nn_spp_geot .GT. 0) THEN 
    95           qgh_trd1 = qgh_trd0 
    96           CALL spp_gen(kt, qgh_trd0, nn_spp_geot, rn_geot_sd, jk_spp_geot) 
     94      IF( ln_stopack .AND. nn_spp_geot > 0) THEN 
     95          qgh_trd1(:,:) = qgh_trd0(:,:) 
     96          CALL spp_gen(kt, qgh_trd1, nn_spp_geot, rn_geot_sd, jk_spp_geot) 
    9797      ENDIF 
    9898      DO jj = 2, jpjm1 
     
    200200            ! 
    201201         END SELECT 
    202          qgh_trd1 = qgh_trd0 
     202         qgh_trd1(:,:) = qgh_trd0(:,:) 
    203203         ! 
    204204      ELSE 
Note: See TracChangeset for help on using the changeset viewer.