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

Ignore:
Timestamp:
2017-10-04T09:19:23+02:00 (7 years ago)
Author:
gm
Message:

#1911 (ENHANCE-09): PART I.3 - phasing with branch dev_r8183_ICEMODEL revision 8575

File:
1 edited

Legend:

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

    r8215 r8586  
    44   !!====================================================================== 
    55   !!                ***  MODULE agrif_top_sponge  *** 
    6    !! AGRIF :   TOP sponge layer 
     6   !! AGRIF :   sponge layer pakage for passive tracers (TOP) 
    77   !!====================================================================== 
    88   !! History :  2.0  ! 2006-08  (R. Benshila, L. Debreu)  Original code 
     
    2323   USE in_out_manager 
    2424   USE lib_mpp 
    25    USE wrk_nemo   
    2625 
    2726   IMPLICIT NONE 
     
    4140      !!                   *** ROUTINE Agrif_Sponge_Trc *** 
    4241      !!---------------------------------------------------------------------- 
    43       REAL(wp) ::   timecoeff   ! local scalar 
     42      REAL(wp) ::   zcoef   ! local scalar 
    4443      !!---------------------------------------------------------------------- 
    4544      ! 
    4645#if defined SPONGE_TOP 
    47       timecoeff = REAL( Agrif_NbStepint(), wp ) / Agrif_rhot() 
     46      zcoef = REAL( Agrif_NbStepint(), wp ) / Agrif_rhot() 
    4847      CALL Agrif_sponge 
    4948      Agrif_SpecialValue    = 0._wp 
    5049      Agrif_UseSpecialValue = .TRUE. 
    5150      tabspongedone_trn     = .FALSE. 
    52       CALL Agrif_Bc_Variable( trn_sponge_id, calledweight=timecoeff, procname=interptrn_sponge ) 
     51      CALL Agrif_Bc_Variable( trn_sponge_id, calledweight=zcoef, procname=interptrn_sponge ) 
    5352      Agrif_UseSpecialValue = .FALSE. 
    5453#endif 
Note: See TracChangeset for help on using the changeset viewer.