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

    r11394 r11404  
    198198      ALLOCATE(zptb(1:jpi, 1:jpj)) 
    199199      ! 
    200       ahu_bbl_1 = ahu_bbl 
    201       IF( nn_spp_ahubbl .GT. 0 ) THEN 
     200      ahu_bbl_1(:,:) = ahu_bbl(:,:) 
     201      IF( ln_stopack .AND. nn_spp_ahubbl > 0 ) THEN 
    202202          CALL spp_gen(1 , ahu_bbl_1, nn_spp_ahubbl, rn_ahubbl_sd, jk_spp_ahubbl ) 
    203203      ENDIF 
    204       ahv_bbl_1 = ahv_bbl 
    205       IF( nn_spp_ahvbbl .GT. 0 ) THEN 
     204      ahv_bbl_1(:,:) = ahv_bbl(:,:) 
     205      IF( ln_stopack .AND. nn_spp_ahvbbl > 0 ) THEN 
    206206          CALL spp_gen(1 , ahv_bbl_1, nn_spp_ahvbbl, rn_ahvbbl_sd, jk_spp_ahvbbl ) 
    207207      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.