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/DYN/dynldf_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/DYN/dynldf_lap.F90

    r2715 r3211  
    2828 
    2929   PUBLIC dyn_ldf_lap  ! called by step.F90 
     30 
     31   !! * Control permutation of array indices 
     32#  include "oce_ftrans.h90" 
     33#  include "dom_oce_ftrans.h90" 
     34#  include "ldfdyn_oce_ftrans.h90" 
     35#  include "zdf_oce_ftrans.h90" 
     36#  include "ldfslp_ftrans.h90" 
    3037 
    3138   !! * Substitutions 
     
    7380         IF(lwp) WRITE(numout,*) '~~~~~~~ ' 
    7481      ENDIF 
     82#if defined key_z_first 
     83      DO jj = 2, jpjm1 
     84         DO ji = 2, jpim1 
     85            DO jk = 1, jpkm1 
     86#else 
    7587      !                                                ! =============== 
    7688      DO jk = 1, jpkm1                                 ! Horizontal slab 
     
    7890         DO jj = 2, jpjm1 
    7991            DO ji = fs_2, fs_jpim1   ! vector opt. 
     92#endif 
    8093               ze2u = rotb (ji,jj,jk) * fsahmf(ji,jj,jk) * fse3f(ji,jj,jk) 
    8194               ze1v = hdivb(ji,jj,jk) * fsahmt(ji,jj,jk) 
Note: See TracChangeset for help on using the changeset viewer.