Changeset 5867


Ignore:
Timestamp:
Nov 17, 2025, 11:53:44 AM (4 hours ago)
Author:
yann meurdesoif
Message:

Bug fix in cdrag
Arrays are addressed inside a klon loop, so must use indice instead of whole array.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/PBLSURF_GPUPORT/libf/phylmd/cdrag_mod.f90

    r5285 r5867  
    528528         cdh(i)=MIN(cdhh(i),cdhmax)
    529529       ENDIF
    530        z0m = rugos_itm(:,2)
    531        z0h = rugos_ith(:,2)
     530       z0m(i) = rugos_itm(i,2)
     531       z0h(i) = rugos_ith(i,2)
    532532     ELSE ! (nsrf == is_oce)
    533533       zri(i) = zgeop1(i)*(ztvd-ztsolv)/(zdu2*ztvd)
Note: See TracChangeset for help on using the changeset viewer.