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

Changeset 2266


Ignore:
Timestamp:
2010-10-14T15:42:05+02:00 (14 years ago)
Author:
cetlod
Message:

No need to remove rnf from emp on ssh equation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/DYN/sshwzv.F90

    r2236 r2266  
    163163      !                                                ! Sea surface elevation time stepping 
    164164      ! In forward Euler time stepping case, the same formulation as in the leap-frog case can be used 
    165       ! because emp_b field is initialized with the vlaues of emp field. Hence, 0.5 * ( emp + emp_b -2*rnf ) = emp 
     165      ! because emp_b field is initialized with the vlaues of emp field. Hence, 0.5 * ( emp + emp_b ) = emp 
    166166      z1_rau0 = 0.5 / rau0 
    167       ssha(:,:) = (  sshb(:,:) - z2dt * ( z1_rau0 * ( emp_b(:,:) + emp(:,:) - 2 * rnf(:,:) ) + zhdiv(:,:) )  ) & 
     167      ssha(:,:) = (  sshb(:,:) - z2dt * ( z1_rau0 * ( emp_b(:,:) + emp(:,:) ) + zhdiv(:,:) )  ) & 
    168168      &                      * tmask(:,:,1) 
    169169 
Note: See TracChangeset for help on using the changeset viewer.