Ignore:
Timestamp:
Aug 28, 2023, 7:58:11 AM (15 months ago)
Author:
fhourdin
Message:

Supression de depassements de tableaux

Routines non utilisees dans les configurations standard

Location:
LMDZ6/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/vdif_kcay.F90

    r2346 r4649  
    221221  END IF
    222222
    223   DO ilev = 1, nlev
     223  DO ilev = 2, nlay
    224224    DO igrid = 1, ngrid
    225225      q2(igrid, ilev) = amax1(q2(igrid,ilev), q2min)
     
    591591  IF (1==1) THEN
    592592
     593    sss=0.
     594    sssq=0.
     595    ! WARNING : travail sur le point ig=1 ????
    593596    DO ilev = 2, klev - 1
    594597      sss = sss + plev(1, ilev-1) - plev(1, ilev+1)
     
    624627
    625628
    626     DO ilev = 1, nlev
     629    DO ilev = 2, klev-1
    627630      DO igrid = 1, ngrid
    628631        q2(igrid, ilev) = max(q2(igrid,ilev), q2min)
  • LMDZ6/trunk/libf/phylmd/yamada.F90

    r2346 r4649  
    128128    l0(ig) = 100.
    129129  END DO
    130   DO k = 2, klev - 1
     130  DO k = 2, klev
    131131    DO ig = 1, ngrid
    132132      l(ig, k) = l0(ig)*kap*zlev(ig, k)/(kap*zlev(ig,k)+l0(ig))
     
    139139      sqz(ig) = 1.E-10
    140140    END DO
    141     DO k = 2, klev - 1
     141    !DO k = 2, klev - 1
     142    DO k = 2, klev
    142143      DO ig = 1, ngrid
    143144        q2(ig, k) = l(ig, k)**2*zz(ig, k)
Note: See TracChangeset for help on using the changeset viewer.