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 10478 for branches/UKMO/AMM15_v3_6_STABLE_package_collate_coupling/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90 – NEMO

Ignore:
Timestamp:
2019-01-09T12:11:55+01:00 (5 years ago)
Author:
jcastill
Message:

Merged branch UKMO/r6232_HZG_WAVE-coupling@9868

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/AMM15_v3_6_STABLE_package_collate_coupling/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90

    r10473 r10478  
    470470                &                        + fwfisf(:,:) + fwfisf_b(:,:)                     ) 
    471471      ENDIF 
    472       !   
    473       IF( ln_sdw ) THEN                         ! Stokes drift divergence added if necessary   
    474          zssh_frc(:,:) = zssh_frc(:,:) + div_sd(:,:)   
    475       ENDIF   
    476       !   
    477472#if defined key_asminc 
    478473      !                                         ! Include the IAU weighted SSH increment 
     
    488483      ! 
    489484      ! ----------------------------------------------------------------------- 
    490       !  Phase 2 : Integration of the barotropic equations  
     485      !  Phase 2 : Integration of the barotropic equations 
    491486      ! ----------------------------------------------------------------------- 
    492487      ! 
    493488      !                                             ! ==================== ! 
    494489      !                                             !    Initialisations   ! 
    495       !                                             ! ==================== !   
     490      !                                             ! ==================== ! 
    496491      ! Initialize barotropic variables:       
    497492      IF( ll_init )THEN 
     
    502497         ub_e   (:,:) = 0._wp 
    503498         vb_e   (:,:) = 0._wp 
     499      ENDIF 
     500      !  
     501      ! Moved here to allow merging with other branch   
     502      IF( ln_sdw ) THEN                         ! Stokes drift divergence added if necessary   
     503         zssh_frc(:,:) = zssh_frc(:,:) + div_sd(:,:)   
    504504      ENDIF 
    505505      ! 
Note: See TracChangeset for help on using the changeset viewer.