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 7973 for branches/2017/dev_r7963_nemo_v3_6_AGRIF-3_AGRIFVVL/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90 – NEMO

Ignore:
Timestamp:
2017-04-26T13:57:57+02:00 (7 years ago)
Author:
jchanut
Message:

Allow centred barotropic integration with AGRIF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7963_nemo_v3_6_AGRIF-3_AGRIFVVL/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90

    r7494 r7973  
    4646   USE iom 
    4747   USE ioipsl 
    48    USE dynspg_oce, ONLY: un_adv, vn_adv ! barotropic velocities      
     48   USE dynspg_oce, ONLY: un_adv, vn_adv ! barotropic fluxes      
    4949 
    5050#if defined key_lim2 
     
    214214      ENDIF 
    215215#if defined key_dynspg_ts 
    216       CALL iom_put(  "ubar", un_adv(:,:)      )    ! barotropic i-current 
     216      CALL iom_put(  "ubar", un_adv(:,:)*hur(:,:) )! barotropic i-current 
    217217#else 
    218218      CALL iom_put(  "ubar", un_b(:,:)        )    ! barotropic i-current 
     
    231231      ENDIF 
    232232#if defined key_dynspg_ts 
    233       CALL iom_put(  "vbar", vn_adv(:,:)      )    ! barotropic j-current 
     233      CALL iom_put(  "vbar", vn_adv(:,:)*hvr(:,:) )! barotropic j-current 
    234234#else 
    235235      CALL iom_put(  "vbar", vn_b(:,:)        )    ! barotropic j-current 
Note: See TracChangeset for help on using the changeset viewer.