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 8762 for branches/2017/dev_r8624_AGRIF3_VVL/NEMOGCM/NEMO/NST_SRC/agrif_top_sponge.F90 – NEMO

Ignore:
Timestamp:
2017-11-21T11:15:35+01:00 (6 years ago)
Author:
jchanut
Message:

AGRIF + vvl: Final changes, update SETTE tests (these are ok except SAS) - #1965

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8624_AGRIF3_VVL/NEMOGCM/NEMO/NST_SRC/agrif_top_sponge.F90

    r6140 r8762  
    4646      ! 
    4747#if defined SPONGE_TOP 
    48       timecoeff = REAL( Agrif_NbStepint(), wp ) / Agrif_rhot() 
     48!!      timecoeff = REAL( Agrif_NbStepint(), wp ) / Agrif_rhot() 
     49!! Assume persistence  
     50      timecoeff = REAL(Agrif_rhot()-1,wp)/REAL(Agrif_rhot()) 
    4951      CALL Agrif_sponge 
    5052      Agrif_SpecialValue    = 0._wp 
     
    7375      ! 
    7476      IF( before ) THEN 
    75          tabres(i1:i2,j1:j2,k1:k2,n1:n2) = trn(i1:i2,j1:j2,k1:k2,n1:n2) 
     77         tabres(i1:i2,j1:j2,k1:k2,n1:n2) = trb(i1:i2,j1:j2,k1:k2,n1:n2) 
    7678      ELSE       
    7779!!gm line below use of :,:  versus i1:i2,j1:j2  ....   strange, not wrong.    ===>> to be corrected 
Note: See TracChangeset for help on using the changeset viewer.