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 1537 for trunk/NEMO/OPA_SRC/TRA/trazdf_exp.F90 – NEMO

Ignore:
Timestamp:
2009-07-24T16:22:23+02:00 (15 years ago)
Author:
ctlod
Message:

ensure the restartability of the 2nd order advection scheme,see ticket: 489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRA/trazdf_exp.F90

    r1438 r1537  
    9090      ! Initializations 
    9191      ! --------------- 
    92       zlavmr = 1. / float( n_zdfexp )                           ! Local constant 
     92      zlavmr = 1. / float( nn_zdfexp )                           ! Local constant 
    9393      ! 
    9494      zwy(:,:, 1 ) = 0.e0        ;   zww(:,:, 1 ) = 0.e0        ! surface boundary conditions: no flux 
     
    100100      ! ------------------- 
    101101      ! 
    102       DO jl = 1, n_zdfexp 
     102      DO jl = 1, nn_zdfexp 
    103103         !                     ! first vertical derivative 
    104104         DO jk = 2, jpk 
     
    112112         END DO 
    113113         ! 
    114          DO jk = 1, jpkm1      ! second vertical derivative   ==> tracer at kt+l*2*rdt/n_zdfexp 
     114         DO jk = 1, jpkm1      ! second vertical derivative   ==> tracer at kt+l*2*rdt/nn_zdfexp 
    115115            DO jj = 2, jpjm1  
    116116               DO ji = fs_2, fs_jpim1   ! vector opt. 
Note: See TracChangeset for help on using the changeset viewer.