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 3211 for branches/2011/DEV_r2739_STFC_dCSE/NEMOGCM/NEMO/OPA_SRC/TRA/tranpc.F90 – NEMO

Ignore:
Timestamp:
2011-12-11T16:00:26+01:00 (13 years ago)
Author:
spickles2
Message:

Stephen Pickles, 11 Dec 2011

Commit to bring the rest of the DCSE NEMO development branch
in line with the latest development version. This includes
array index re-ordering of all OPA_SRC/.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/DEV_r2739_STFC_dCSE/NEMOGCM/NEMO/OPA_SRC/TRA/tranpc.F90

    r2715 r3211  
    2929   PUBLIC   tra_npc       ! routine called by step.F90 
    3030 
     31   !! * Control permutation of array indices 
     32#  include "oce_ftrans.h90" 
     33#  include "dom_oce_ftrans.h90" 
     34#  include "zdf_oce_ftrans.h90" 
     35 
    3136   !! * Substitutions 
    3237#  include "domzgr_substitute.h90" 
     
    5964      USE wrk_nemo, ONLY:   ztrdt => wrk_3d_1 , ztrds => wrk_3d_2 , zrhop => wrk_3d_3 
    6065      USE wrk_nemo, ONLY:   zwx   => wrk_xz_1 , zwy   => wrk_xz_2 , zwz   => wrk_xz_3 
     66 
     67      !! DCSE_NEMO: need additional directives for renamed module variables 
     68!FTRANS ztrdt ztrds zrhop :I :I :z 
     69 
    6170      ! 
    6271      INTEGER, INTENT(in) ::   kt   ! ocean time-step index 
     
    93102            !  Static instability pointer  
    94103            ! ---------------------------- 
     104#if defined key_z_first 
     105            DO ji = 1, jpi 
     106               DO jk = 1, jpkm1 
     107#else 
    95108            DO jk = 1, jpkm1 
    96109               DO ji = 1, jpi 
     110#endif 
    97111                  zwx(ji,jk) = ( zrhop(ji,jj,jk) - zrhop(ji,jj,jk+1) ) * tmask(ji,jj,jk+1) 
    98112               END DO 
Note: See TracChangeset for help on using the changeset viewer.