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/C1D/step_c1d.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/C1D/step_c1d.F90

    r2409 r3211  
    2424 
    2525   PUBLIC stp_c1d      ! called by opa.F90 
     26 
     27   !! * Control permutation of array indices 
     28#  include "oce_ftrans.h90" 
     29#  include "dom_oce_ftrans.h90" 
    2630 
    2731   !! * Substitutions 
     
    5357      !!---------------------------------------------------------------------- 
    5458      INTEGER, INTENT(in) ::   kstp   ! ocean time-step index 
    55       INTEGER ::   jk       ! dummy loop indice 
     59#if defined key_z_first 
     60      INTEGER ::   ji, jj, jk         ! dummy loop indices 
     61#else 
     62      INTEGER ::   jk                 ! dummy loop index 
     63#endif 
    5664      INTEGER ::   indic    ! error indicator if < 0 
    5765      !! --------------------------------------------------------------------- 
     
    8795 
    8896      IF( ln_rnf_mouth ) THEN                         ! increase diffusivity at rivers mouths 
     97#if defined key_z_first 
     98         DO jj = 1, jpj 
     99            DO ji = 1, jpi 
     100               DO jk = 2, nkrnf 
     101                  avt(ji,jj,jk) = avt(ji,jj,jk) + 2.e0 * rn_avt_rnf * rnfmsk(ji,jj) 
     102               END DO 
     103            END DO 
     104         END DO 
     105#else 
    89106         DO jk = 2, nkrnf   ;   avt(:,:,jk) = avt(:,:,jk) + 2.e0 * rn_avt_rnf * rnfmsk(:,:)   ;   END DO 
     107#endif 
    90108      ENDIF 
    91109      IF( ln_zdfevd  )   CALL zdf_evd( kstp )         ! enhanced vertical eddy diffusivity 
Note: See TracChangeset for help on using the changeset viewer.