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 15090 for NEMO/trunk/src/OFF/dtadyn.F90 – NEMO

Ignore:
Timestamp:
2021-07-06T16:25:18+02:00 (3 years ago)
Author:
cetlod
Message:

trunk : minor changes in PISCES to make it work in debug mode when nn_hls=2 ( still not working when enabling tiles )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OFF/dtadyn.F90

    r15023 r15090  
    419419      gdepw(:,:,1,Kmm) = 0.0_wp 
    420420      ! 
    421       DO_3D( 1, 1, 1, 1, 2, jpk ) 
     421      DO_3D( nn_hls, nn_hls, nn_hls, nn_hls, 2, jpk ) 
    422422         zcoef = (tmask(ji,jj,jk) - wmask(ji,jj,jk)) 
    423423         gdepw(ji,jj,jk,Kmm) = gdepw(ji,jj,jk-1,Kmm) + e3t(ji,jj,jk-1,Kmm) 
     
    503503         ! 
    504504         nk_rnf(:,:) = 0                               ! set the number of level over which river runoffs are applied 
    505          DO_2D( 1, 1, 1, 1 ) 
     505         DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 
    506506            IF( h_rnf(ji,jj) > 0._wp ) THEN 
    507507               jk = 2 
     
    517517         END_2D 
    518518         ! 
    519          DO_2D( 1, 1, 1, 1 )                           ! set the associated depth 
     519         ! set the associated depth 
     520         DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 
    520521            h_rnf(ji,jj) = 0._wp 
    521522            DO jk = 1, nk_rnf(ji,jj) 
     
    552553      !!---------------------------------------------------------------------- 
    553554      ! 
    554       DO_2D( 1, 1, 1, 1 )               ! update the depth over which runoffs are distributed 
     555      !  update the depth over which runoffs are distributed 
     556      DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 
    555557         h_rnf(ji,jj) = 0._wp 
    556558         DO jk = 1, nk_rnf(ji,jj)                           ! recalculates h_rnf to be the depth in metres 
Note: See TracChangeset for help on using the changeset viewer.