Ignore:
Timestamp:
Dec 17, 2025, 7:33:39 PM (5 weeks ago)
Author:
yann meurdesoif
Message:

Separate pbl_surface into 3 subroutines for GPU port

pbl_surface_uncompress_pre : prepare computation for sub subsurface before compressing
pbl_surface_subsrf : each sub-surface is called one after other (horizontal = knon)
pbl_surface_uncompress_post : sub-surface are uncompressed, computation is done on whole domain (horizontal = klon)

pbl_surface_main becomes the driver, calling pbl_surface_uncompress_pre, and then looping under sub-surface (and calling pbl_surface_subsrf) and then calling pbl_surface_uncompress_post.

merge of commit r5868

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/calbeta.f90

    r5301 r5942  
    2424  INTEGER, INTENT(IN)                :: indice
    2525  INTEGER, INTENT(IN)                :: knon
    26   REAL, DIMENSION(klon), INTENT(IN)  :: snow
    27   REAL, DIMENSION(klon), INTENT(IN)  :: qsol
     26  REAL, DIMENSION(knon), INTENT(IN)  :: snow
     27  REAL, DIMENSION(knon), INTENT(IN)  :: qsol
    2828
    2929 
    3030! Variables de sorties
    3131!****************************************************************************************
    32   REAL, DIMENSION(klon), INTENT(OUT) :: vbeta
    33   REAL, DIMENSION(klon), INTENT(OUT) :: vcal
    34   REAL, DIMENSION(klon), INTENT(OUT) :: vdif
     32  REAL, DIMENSION(knon), INTENT(OUT) :: vbeta
     33  REAL, DIMENSION(knon), INTENT(OUT) :: vcal
     34  REAL, DIMENSION(knon), INTENT(OUT) :: vdif
    3535
    3636! Variables locales
Note: See TracChangeset for help on using the changeset viewer.