Ignore:
Timestamp:
Jan 12, 2026, 3:22:42 PM (3 weeks ago)
Author:
yann meurdesoif
Message:

Adapt some of surf_land_orchidee interface to newly GPU porting.

Change klon into knon in some variables declaration

YM

File:
1 edited

Legend:

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

    r6004 r6015  
    187187
    188188! Pb de nomenclature
    189     REAL, DIMENSION(klon)                     :: petA_orc, peqA_orc
    190     REAL, DIMENSION(klon)                     :: petB_orc, peqB_orc
     189    REAL, DIMENSION(knon)                     :: petA_orc, peqA_orc
     190    REAL, DIMENSION(knon)                     :: petB_orc, peqB_orc
    191191! Pb de correspondances de grilles
    192192    INTEGER, DIMENSION(:), SAVE, ALLOCATABLE  :: ig, jg
     
    197197
    198198! Essai cdrag
    199     REAL, DIMENSION(klon)                     :: cdrag
     199    REAL, DIMENSION(knon)                     :: cdrag
    200200    INTEGER,SAVE                              :: offset
    201201    !$OMP THREADPRIVATE(offset)
     
    347347       ENDDO
    348348     
    349        ALLOCATE(coastalflow(klon), stat = error)
     349       ALLOCATE(coastalflow(knon), stat = error)
    350350       IF (error /= 0) THEN
    351351          abort_message='Pb allocation coastalflow'
     
    353353       ENDIF
    354354       
    355        ALLOCATE(riverflow(klon), stat = error)
     355       ALLOCATE(riverflow(knon), stat = error)
    356356       IF (error /= 0) THEN
    357357          abort_message='Pb allocation riverflow'
Note: See TracChangeset for help on using the changeset viewer.