Ignore:
Timestamp:
Sep 24, 2025, 3:12:42 PM (2 months ago)
Author:
rkazeroni
Message:

For GPU porting of alpale_th and alpale_wk routines:

  • Put routine into module (speeds up source-to-source transformation)
  • Add "horizontal" comment to specify possible names of horizontal variables
  • Move declaration of variables with SAVE attributes from the compute routine to the module
  • Move one-time instructions (allocate, getin, print) to a dedicated routine_first
File:
1 edited

Legend:

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

    r5828 r5833  
    2525  &      fl_ebil, fl_cor_ebil
    2626    USE ajsec_mod, ONLY: ajsec, ajsec_convv2
     27    USE alpale_th_mod, ONLY: alpale_th, alpale_th_first
     28    USE alpale_wk_mod, ONLY: alpale_wk, alpale_wk_first
    2729    USE assert_m, only: assert
    2830    USE change_srf_frac_mod
     
    36583660       IF (iflag_alp_wk_cond .GT. 0.) THEN
    36593661
     3662         CALL alpale_wk_first(cell_area)
    36603663         CALL alpale_wk(phys_tstep, cell_area, wake_k, wake_s, wake_dens, wake_fip_0, &
    36613664                        wake_fip)
     
    38443847          !
    38453848!
     3849          CALL alpale_th_first()
    38463850          CALL alpale_th( phys_tstep, lmax_th, t_seri, cell_area,  &
    38473851                          cin, s2, n2, strig, &
Note: See TracChangeset for help on using the changeset viewer.