Changeset 2779


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

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

Location:
trunk/NEMOGCM/NEMO/OPA_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/DOM/domvvl.F90

    r2715 r2779  
    141141      ! surface at t-points and inverse surface at (u/v)-points used in surface averaging computations 
    142142      ! for ssh and scale factors 
    143       zs_t  (:,:) =       e1t(:,:) * e2t(:,:) 
    144       zs_u_1(:,:) = 0.5 / e1u(:,:) * e2u(:,:) 
    145       zs_v_1(:,:) = 0.5 / e1v(:,:) * e2v(:,:) 
     143      zs_t  (:,:) =         e1t(:,:) * e2t(:,:) 
     144      zs_u_1(:,:) = 0.5 / ( e1u(:,:) * e2u(:,:) ) 
     145      zs_v_1(:,:) = 0.5 / ( e1v(:,:) * e2v(:,:) ) 
    146146 
    147147      DO jj = 1, jpjm1                          ! initialise before and now Sea Surface Height at u-, v-, f-points 
  • 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.