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

Changeset 9056


Ignore:
Timestamp:
2017-12-14T16:33:33+01:00 (6 years ago)
Author:
jchanut
Message:

duplicated definitions

Location:
branches/2017/dev_merge_2017/NEMOGCM/NEMO/NST_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/NST_SRC/agrif_opa_sponge.F90

    r9047 r9056  
    4141      !!---------------------------------------------------------------------- 
    4242      REAL(wp) ::   zcoef   ! local scalar 
     43       
    4344      !!---------------------------------------------------------------------- 
    4445      ! 
    4546#if defined SPONGE 
    4647      !! Assume persistence: 
    47       timecoeff = REAL(Agrif_rhot()-1,wp)/REAL(Agrif_rhot()) 
     48      zcoef = REAL(Agrif_rhot()-1,wp)/REAL(Agrif_rhot()) 
    4849 
    4950      CALL Agrif_Sponge 
     
    6869      ! 
    6970#if defined SPONGE 
    70       timecoeff = REAL(Agrif_rhot()-1,wp)/REAL(Agrif_rhot()) 
     71      zcoef = REAL(Agrif_rhot()-1,wp)/REAL(Agrif_rhot()) 
    7172 
    7273      Agrif_SpecialValue=0. 
     
    484485      INTEGER, INTENT(in) :: nb , ndir 
    485486      ! 
    486       INTEGER ::   ji, jj, jk 
    487       INTEGER ::   imax 
    488       REAL(wp)::   ze2u, ze1v, zua, zva, zbtr 
    489       REAL(wp), DIMENSION(i1:i2,j1:j2,k1:k2) ::   vbdiff, rotdiff, hdivdiff 
    490       !!---------------------------------------------------------------------- 
    491487      INTEGER  ::   ji, jj, jk, imax 
    492488      REAL(wp) ::   ze2u, ze1v, zua, zva, zbtr, h_diff 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/NST_SRC/agrif_top_sponge.F90

    r9031 r9056  
    4545#if defined SPONGE_TOP 
    4646!! Assume persistence  
    47       timecoeff = REAL(Agrif_rhot()-1,wp)/REAL(Agrif_rhot()) 
     47      zcoef = REAL(Agrif_rhot()-1,wp)/REAL(Agrif_rhot()) 
    4848      CALL Agrif_sponge 
    4949      Agrif_SpecialValue    = 0._wp 
Note: See TracChangeset for help on using the changeset viewer.