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 11970 for NEMO/branches/2019/ENHANCE-02_ISF_nemo_TEST_MERGE/src/OCE/DYN/sshwzv.F90 – NEMO

Ignore:
Timestamp:
2019-11-26T16:06:55+01:00 (4 years ago)
Author:
davestorkey
Message:

2019/ENHANCE-02_ISF_nemo_TEST_MERGE : copy changes from Pierre's branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo_TEST_MERGE/src/OCE/DYN/sshwzv.F90

    r11414 r11970  
    1818   !!---------------------------------------------------------------------- 
    1919   USE oce            ! ocean dynamics and tracers variables 
     20   USE isf            ! ice shelf 
     21   USE isfutils 
    2022   USE dom_oce        ! ocean space and time domain variables  
    2123   USE sbc_oce        ! surface boundary condition: ocean 
     
    255257         IF( .NOT.ln_linssh ) THEN                          ! before <-- with forcing removed 
    256258            zcoef = atfp * rdt * r1_rau0 
    257             sshb(:,:) = sshb(:,:) - zcoef * (     emp_b(:,:) - emp   (:,:)   & 
    258                &                             -    rnf_b(:,:) + rnf   (:,:)   & 
    259                &                             + fwfisf_b(:,:) - fwfisf(:,:)   ) * ssmask(:,:) 
     259            sshb(:,:) = sshb(:,:) - zcoef * (  emp_b(:,:)        - emp   (:,:)       & 
     260               &                             - rnf_b(:,:)        + rnf   (:,:)       & 
     261               &                             + fwfisf_cav_b(:,:) - fwfisf_cav(:,:)   & 
     262               &                             + fwfisf_par_b(:,:) - fwfisf_par(:,:)   ) * ssmask(:,:) 
     263 
     264            ! ice sheet coupling 
     265            IF ( ln_isf .AND. ln_isfcpl .AND. kt == nit000+1) sshb(:,:) = sshb(:,:) - atfp * rdt * ( risfcpl_ssh(:,:) - 0.0 ) * ssmask(:,:) 
     266 
    260267         ENDIF 
     268 
    261269         sshn(:,:) = ssha(:,:)                              ! now <-- after 
    262270      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.