Ignore:
Timestamp:
Dec 17, 2025, 7:33:39 PM (2 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/freinage.f90

    r5309 r5942  
    22! $Id$
    33!
    4   SUBROUTINE freinage(knon, uu, vv,  &
     4  SUBROUTINE freinage(klon, knon, uu, vv,  &
    55       tt,veget,lai, height,ypaprs,ypplay,drag_pro,d_u,d_v)
    66
     
    1010    USE compbl_mod_h
    1111        USE clesphys_mod_h
    12     use dimphy, only: klon, klev
     12    use dimphy, only: klev
    1313!    USE control, ONLY: nvm
    1414!    USE indice_sol_mod, only : nvm_orch
     
    3737     REAL, DIMENSION(klon,klev)         :: wind
    3838     REAL, DIMENSION(klon, klev)        :: yzlay
    39      INTEGER knon
     39     INTEGER klon, knon
    4040
    4141    ! 0.2 OUTPUTS
Note: See TracChangeset for help on using the changeset viewer.