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 2779 for trunk/NEMOGCM/NEMO/OPA_SRC/DYN/dynnxt.F90 – NEMO

Ignore:
Timestamp:
2011-06-07T19:09:43+02:00 (13 years ago)
Author:
acc
Message:

#832. Corrections to before scale factor calculations (fse3u_b and fse3v_b).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/DYN/dynnxt.F90

    r2723 r2779  
    250250            ! surface at t-points and inverse surface at (u/v)-points used in surface averaging computations 
    251251            zs_t  (:,:) =       e1t(:,:) * e2t(:,:) 
    252             zs_u_1(:,:) = 0.5 / e1u(:,:) * e2u(:,:) 
    253             zs_v_1(:,:) = 0.5 / e1v(:,:) * e2v(:,:) 
     252            zs_u_1(:,:) = 0.5 / ( e1u(:,:) * e2u(:,:) ) 
     253            zs_v_1(:,:) = 0.5 / ( e1v(:,:) * e2v(:,:) ) 
    254254            ! 
    255255            IF( ln_dynadv_vec ) THEN 
Note: See TracChangeset for help on using the changeset viewer.