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 15437 for NEMO/trunk/src/NST/agrif_top_sponge.F90 – NEMO

Ignore:
Timestamp:
2021-10-22T14:21:20+02:00 (3 years ago)
Author:
jchanut
Message:

agrif fixes: i) Add masking prior interpolation on "before" tracers: these seem to be strangly unmasked which induces extrapolation issues. ii) Add flux limiter on tracer sponge (recall sponge is applied on anomalies) to prevent from generating spurious extrema.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/NST/agrif_top_sponge.F90

    r14170 r15437  
    9090               DO jj=j1,j2 
    9191                  DO ji=i1,i2 
    92                      tabres(ji,jj,jk,jn) = tr(ji,jj,jk,jn,Kbb_a) 
     92                     tabres(ji,jj,jk,jn) = tr(ji,jj,jk,jn,Kbb_a) * tmask(ji,jj,jk)  
    9393                  END DO 
    9494               END DO 
Note: See TracChangeset for help on using the changeset viewer.