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 6660 – NEMO

Changeset 6660


Ignore:
Timestamp:
2016-06-02T19:37:31+02:00 (8 years ago)
Author:
drew
Message:

Commit changes to trasbc for proper conservation with ssh incrementing that properly treat tsa as the current trend in temperature/salinity, and not the full field.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_sshinc_with_VVL/NEMOGCM/NEMO/OPA_SRC/TRA/trasbc.F90

    r6620 r6660  
    301301               DO jk = 1, jpkm1 
    302302                  tsa(ji,jj,jk,jp_tem) = tsa(ji,jj,jk,jp_tem)   & 
    303                                         &            * ( 1.0 + zdep * ( e3t_0(ji,jj,jk) / fse3t_n(ji,jj,jk) ) ) 
     303                                        &            + tsn(ji,jj,jk,jp_tem) * zdep * ( e3t_0(ji,jj,jk) / fse3t_n(ji,jj,jk) ) 
    304304                  tsa(ji,jj,jk,jp_sal) = tsa(ji,jj,jk,jp_sal)   & 
    305                                         &            * ( 1.0 + zdep * ( e3t_0(ji,jj,jk) / fse3t_n(ji,jj,jk) ) ) 
     305                                        &            + tsn(ji,jj,jk,jp_sal) * zdep * ( e3t_0(ji,jj,jk) / fse3t_n(ji,jj,jk) ) 
    306306               END DO 
    307307            END DO   
Note: See TracChangeset for help on using the changeset viewer.