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 4188 for branches/2013/dev_r3948_NOC_FK/NEMOGCM/NEMO/OPA_SRC/TRA/traadv_mle.F90 – NEMO

Ignore:
Timestamp:
2013-11-14T10:40:55+01:00 (11 years ago)
Author:
agn
Message:

Divide zpsi_[uv]w by box width to give units in m2/s, correct grid for psiv_mle, update namelists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3948_NOC_FK/NEMOGCM/NEMO/OPA_SRC/TRA/traadv_mle.F90

    r3995 r4188  
    245245         CALL iom_put( "Lf_NHpf" , zLf_NH  )    ! Lf = N H / f 
    246246         ! 
    247          zpsim_u(jpi,:) = 0._wp   ;   zpsim_u(:,jpj) = 0._wp      ! set a value where it is undefined 
    248          zpsim_v(jpi,:) = 0._wp   ;   zpsim_v(:,jpj) = 0._wp      ! before the output 
     247         ! divide by cross distance to give streamfunction with dimensions m^2/s 
     248         DO jk = 1, ikmax+1 
     249            zpsi_uw(:,:,jk) = zpsi_uw(:,:,jk)/e2u(:,:) 
     250            zpsi_vw(:,:,jk) = zpsi_vw(:,:,jk)/e1v(:,:) 
     251         END DO 
    249252         CALL iom_put( "psiu_mle", zpsi_uw )    ! i-mle streamfunction 
    250253         CALL iom_put( "psiv_mle", zpsi_vw )    ! j-mle streamfunction 
Note: See TracChangeset for help on using the changeset viewer.