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/traldf_lap.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/traldf_lap.F90

    r2715 r3211  
    3333   REAL(wp), SAVE, ALLOCATABLE, DIMENSION(:,:) ::   e1ur, e2vr   ! scale factor coefficients 
    3434 
     35   !! * Control permutation of array indices 
     36#  include "oce_ftrans.h90" 
     37#  include "dom_oce_ftrans.h90" 
     38#  include "ldftra_oce_ftrans.h90" 
     39#  include "trc_oce_ftrans.h90" 
     40 
    3541   !! * Substitutions 
    3642#  include "domzgr_substitute.h90" 
     
    6470      !!---------------------------------------------------------------------- 
    6571      USE oce, ONLY:   ztu => ua , ztv => va  ! (ua,va) used as workspace 
     72 
     73      !! DCSE_NEMO: need additional directives for renamed module variables 
     74!FTRANS ztu ztv :I :I :z 
     75 
    6676      ! 
    6777      INTEGER                              , INTENT(in   ) ::   kt         ! ocean time-step index 
     
    6979      INTEGER                              , INTENT(in   ) ::   kjpt       ! number of tracers 
    7080      REAL(wp), DIMENSION(jpi,jpj    ,kjpt), INTENT(in   ) ::   pgu, pgv   ! tracer gradient at pstep levels 
    71       REAL(wp), DIMENSION(jpi,jpj,jpk,kjpt), INTENT(in   ) ::   ptb        ! before and now tracer fields 
    72       REAL(wp), DIMENSION(jpi,jpj,jpk,kjpt), INTENT(inout) ::   pta        ! tracer trend  
     81 
     82      !! DCSE_NEMO: This style defeats ftrans 
     83!     REAL(wp), DIMENSION(jpi,jpj,jpk,kjpt), INTENT(in   ) ::   ptb        ! before and now tracer fields 
     84!     REAL(wp), DIMENSION(jpi,jpj,jpk,kjpt), INTENT(inout) ::   pta        ! tracer trend  
     85 
     86!FTRANS ptb pta :I :I :z : 
     87      REAL(wp), INTENT(in   ) ::   ptb(jpi,jpj,jpk,kjpt)        ! before and now tracer fields 
     88      REAL(wp), INTENT(inout) ::   pta(jpi,jpj,jpk,kjpt)        ! tracer trend  
    7389      ! 
    7490      INTEGER  ::   ji, jj, jk, jn       ! dummy loop indices 
Note: See TracChangeset for help on using the changeset viewer.