Ignore:
Timestamp:
Sep 17, 2025, 11:24:26 AM (2 months ago)
Author:
rkazeroni
Message:

For GPU porting of clouds_gno and clouds_bigauss routines:

  • Put routine into module (speeds up source-to-source transformation)
  • Add "horizontal" comment to specify possible names of horizontal variables
  • Remove unnecessary declaration of intrinsic function erf
File:
1 edited

Legend:

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

    r5268 r5816  
    22! $Header$
    33
    4 
    54! ================================================================================
     5!$gpum horizontal klon
     6MODULE clouds_gno_mod
     7
     8  PRIVATE
     9
     10  PUBLIC clouds_gno
     11
     12  CONTAINS
    613
    714SUBROUTINE clouds_gno(klon, nd, r, rs, qsub, ptconv, ratqsc, cldf)
     
    5461  REAL pi, u, v, erfcu, erfcv
    5562  REAL xx1, xx2
    56   REAL erf, hsqrtlog_2, v2
     63  REAL hsqrtlog_2, v2
    5764  REAL sqrtpi, sqrt2, zx1, zx2, exdel
    5865  ! lconv = true si le calcul a converge (entre autre si qsub < min_q)
     
    258265END SUBROUTINE clouds_gno
    259266
    260 
    261 
     267END MODULE clouds_gno_mod
Note: See TracChangeset for help on using the changeset viewer.