Changeset 5817 for LMDZ6


Ignore:
Timestamp:
Sep 17, 2025, 12:04:37 PM (2 months ago)
Author:
rkazeroni
Message:

For GPU porting of ajsec and ajsec_convv2 routines:

Put routine into module (speeds up source-to-source transformation)
Add "horizontal" comment to specify possible names of horizontal variables

Location:
LMDZ6/trunk/libf/phylmd
Files:
2 edited

Legend:

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

    r5285 r5817  
    11
    22! $Header$
     3!$gpum horizontal klon
     4MODULE ajsec_mod
     5  PRIVATE
     6
     7  PUBLIC ajsec, ajsec_convv2, ajsec_old
     8
     9  CONTAINS
    310
    411SUBROUTINE ajsec(paprs, pplay, t, q, limbas, d_t, d_q)
     
    399406  RETURN
    400407END SUBROUTINE ajsec_old
     408
     409END MODULE ajsec_mod
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r5816 r5817  
    2424    USE add_phys_tend_mod, only : add_pbl_tend, add_phys_tend, diag_phys_tend, prt_enerbil, &
    2525  &      fl_ebil, fl_cor_ebil
     26    USE ajsec_mod, ONLY: ajsec, ajsec_convv2
    2627    USE assert_m, only: assert
    2728    USE change_srf_frac_mod
     
    850851    EXTERNAL angle     ! calculer angle zenithal du soleil
    851852    EXTERNAL alboc     ! calculer l'albedo sur ocean
    852     EXTERNAL ajsec     ! ajustement sec
     853    ! EXTERNAL ajsec     ! ajustement sec
    853854    EXTERNAL conlmd    ! convection (schema LMD)
    854855    EXTERNAL conema3  ! convect4.3
Note: See TracChangeset for help on using the changeset viewer.