Ignore:
Timestamp:
Apr 2, 2026, 3:46:30 PM (9 days ago)
Author:
emillour
Message:

Generic PCM:
Clean up module thermcell_mod.F90 : make module variables private and remove
unused module variables.
While at it, put all thermcell_*.F90 routines in modules.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phygeneric/thermcell_main.F90

    r3893 r4168  
    1 !
    2 !
     1MODULE thermcell_main_mod
     2
     3IMPLICIT NONE
     4
     5CONTAINS
    36!
    47SUBROUTINE thermcell_main(ngrid,nlay,nq,ptimestep,firstcall,                  &
     
    4548!===============================================================================
    4649     
    47       USE thermcell_mod
     50      USE thermcell_mod, ONLY: RD, RG, dvimpl, linf
    4851      USE print_control_mod, ONLY: prt_level
     52      USE thermcell_env_mod, ONLY: thermcell_env
     53      USE thermcell_plume_mod, ONLY: thermcell_plume
     54      USE thermcell_height_mod, ONLY: thermcell_height
     55      USE thermcell_closure_mod, ONLY: thermcell_closure
     56      USE thermcell_flux_mod, ONLY: thermcell_flux
     57      USE thermcell_dq_mod, ONLY: thermcell_dq
     58      USE thermcell_dv2_mod, ONLY: thermcell_dv2
    4959     
    5060      IMPLICIT NONE
     
    421431     
    422432     
    423 RETURN
    424 END
     433END SUBROUTINE thermcell_main
     434
     435END MODULE thermcell_main_mod
Note: See TracChangeset for help on using the changeset viewer.