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 9939 for NEMO/branches/2018/dev_r9838_ENHANCE04_RK3/src/OFF/dtadyn.F90 – NEMO

Ignore:
Timestamp:
2018-07-13T09:28:50+02:00 (6 years ago)
Author:
gm
Message:

#1911 (ENHANCE-04): RK3 branche phased with MLF@9937 branche

Location:
NEMO/branches/2018/dev_r9838_ENHANCE04_RK3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2018/dev_r9838_ENHANCE04_RK3/src/OFF/dtadyn.F90

    r9598 r9939  
    438438      ENDIF 
    439439 
    440       sshb(:,:) = sshn(:,:) + atfp * ( sshb(:,:) - 2 * sshn(:,:) + ssha(:,:))  ! before <-- now filtered 
     440      sshb(:,:) = sshn(:,:) + rn_atfp * ( sshb(:,:) - 2 * sshn(:,:) + ssha(:,:) )   ! before <-- now filtered 
    441441      sshn(:,:) = ssha(:,:) 
    442442 
     
    511511      INTEGER                       :: jk 
    512512      REAL(wp), DIMENSION(jpi,jpj)  :: zhdiv   
    513       REAL(wp)  :: z2dt   
    514       !!---------------------------------------------------------------------- 
    515       ! 
    516       z2dt = 2._wp * rdt 
     513      !!---------------------------------------------------------------------- 
    517514      ! 
    518515      zhdiv(:,:) = 0._wp 
     
    521518      END DO 
    522519      !                                                ! Sea surface  elevation time-stepping 
    523       pssha(:,:) = ( psshb(:,:) - z2dt * ( r1_rau0 * pemp(:,:)  + zhdiv(:,:) ) ) * ssmask(:,:) 
     520      pssha(:,:) = ( psshb(:,:) - rDt * ( r1_rho0 * pemp(:,:)  + zhdiv(:,:) ) ) * ssmask(:,:) 
    524521      !                                                 !  
    525522      !                                                 ! After acale factors at t-points ( z_star coordinate ) 
Note: See TracChangeset for help on using the changeset viewer.