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_iso.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_iso.F90

    r2715 r3211  
    3838   REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) :: zfuw, zdiu, zdju, zdj1u   ! 2D workspace (dyn_ldf_iso)  
    3939   REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) :: zfvw, zdiv, zdjv, zdj1v   !  -      - 
     40 
     41   !! * Control permutation of array indices 
     42#  include "oce_ftrans.h90" 
     43#  include "dom_oce_ftrans.h90" 
     44#  include "ldfdyn_oce_ftrans.h90" 
     45#  include "ldftra_oce_ftrans.h90" 
     46#  include "ldfslp_ftrans.h90" 
     47#  include "zdf_oce_ftrans.h90" 
    4048 
    4149   !! * Substitutions 
     
    134142      IF( ln_dynldf_hor .AND. ln_traldf_iso ) THEN 
    135143         ! 
     144#if defined key_z_first 
     145         DO jj = 2, jpjm1       ! set the slopes of iso-level 
     146            DO ji = fs_2, fs_jpim1     
     147               DO jk = 1, jpk        
     148#else 
    136149         DO jk = 1, jpk         ! set the slopes of iso-level 
    137150            DO jj = 2, jpjm1 
    138151               DO ji = fs_2, fs_jpim1   ! vector opt. 
     152#endif 
    139153                  uslp (ji,jj,jk) = -1./e1u(ji,jj) * ( fsdept(ji+1,jj,jk) - fsdept(ji ,jj ,jk) ) * umask(ji,jj,jk) 
    140154                  vslp (ji,jj,jk) = -1./e2v(ji,jj) * ( fsdept(ji,jj+1,jk) - fsdept(ji ,jj ,jk) ) * vmask(ji,jj,jk) 
Note: See TracChangeset for help on using the changeset viewer.