Ignore:
Timestamp:
Nov 5, 2024, 12:37:47 PM (10 days ago)
Author:
abarral
Message:

Turn raddimlw.h radepsi.h radopt.h into modules
Move unused raddim.*.h to obsolete

File:
1 edited

Legend:

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

    r5296 r5314  
    310310SUBROUTINE swu_lmdar4(psct, pcldsw, ppmb, ppsol, prmu0, pfrac, ptave, pwv, &
    311311    paki, pcld, pclear, pdsig, pfact, prmu, psec, pud)
    312   USE clesphys_mod_h
     312USE radopt_mod_h
     313  USE radepsi_mod_h
     314    USE clesphys_mod_h
    313315  USE dimphy
    314316  USE radiation_ar4_param, ONLY: zpdh2o, zpdumg, zprh2o, zprumg, rtdh2o, &
     
    316318  USE yomcst_mod_h
    317319IMPLICIT NONE
    318   include "radepsi.h"
    319   include "radopt.h"
    320320
    321321
     
    699699    palbp, pcg, pcld, pclear, pcldsw, pdsig, pomega, poz, prmu, psec, ptau, &
    700700    pud, pwv, pqs, pfdown, pfup)
    701   USE dimphy
     701USE radepsi_mod_h
     702    USE dimphy
    702703  USE radiation_ar4_param, ONLY: rsun, rray
    703704  USE infotrac_phy, ONLY: type_trac
     
    706707
    707708  IMPLICIT NONE
    708   include "radepsi.h"
    709709
    710710  ! ------------------------------------------------------------------
     
    11951195    pdsig, prayl, psec, pcgaz, ppizaz, pray1, pray2, prefz, prj, prk, prmu0, &
    11961196    ptauaz, ptra1, ptra2)
    1197   USE dimphy
     1197USE radopt_mod_h
     1198  USE radepsi_mod_h
     1199    USE dimphy
    11981200  USE radiation_ar4_param, ONLY: taua, rpiza, rcga
    11991201  IMPLICIT NONE
    1200   include "radepsi.h"
    1201   include "radopt.h"
    12021202
    12031203  ! ------------------------------------------------------------------
     
    15241524    ptau, pcgaz, ppizaz, pray1, pray2, prefz, prj, prk, prmue, ptauaz, ptra1, &
    15251525    ptra2)
    1526   USE clesphys_mod_h
     1526USE radopt_mod_h
     1527  USE radepsi_mod_h
     1528    USE clesphys_mod_h
    15271529  USE dimphy
    15281530  IMPLICIT NONE
    1529   include "radepsi.h"
    1530   include "radopt.h"
    15311531
    15321532  ! ------------------------------------------------------------------
     
    21242124  ! IM  .              ptoplwdown,ptoplwdownclr)
    21252125    plwup, plwdn, plwup0, plwdn0)
    2126   USE dimphy
     2126USE raddimlw_mod_h
     2127    USE dimphy
    21272128  USE print_control_mod, ONLY: lunout
    21282129  USE yomcst_mod_h
    21292130IMPLICIT NONE
    2130   include "raddimlw.h"
    21312131
    21322132
     
    23112311! IM ctes ds clesphys.h   SUBROUTINE LWU(RCO2, RCH4, RN2O, RCFC11, RCFC12,
    23122312SUBROUTINE lwu_lmdar4(paer, pdp, ppmb, ppsol, poz, ptave, pview, pwv, pabcu)
    2313   USE clesphys_mod_h
     2313USE radopt_mod_h
     2314  USE radepsi_mod_h
     2315  USE raddimlw_mod_h
     2316    USE clesphys_mod_h
    23142317  USE dimphy
    23152318  USE radiation_ar4_param, ONLY: tref, rt1, raer, at, bt, oct
     
    23202323  USE yomcst_mod_h
    23212324IMPLICIT NONE
    2322   include "raddimlw.h"
    2323 
    2324   include "radepsi.h"
    2325   include "radopt.h"
     2325
    23262326
    23272327  ! PURPOSE.
     
    26802680SUBROUTINE lwbv_lmdar4(klim, pdp, pdt0, pemis, ppmb, ptl, ptave, pabcu, &
    26812681    pfluc, pbint, pbsui, pcts, pcntrb)
    2682   USE dimphy
     2682USE raddimlw_mod_h
     2683    USE dimphy
    26832684  USE yomcst_mod_h
    26842685IMPLICIT NONE
    2685   include "raddimlw.h"
    26862686
    26872687
     
    27672767SUBROUTINE lwc_lmdar4(klim, pcldld, pcldlu, pemis, pfluc, pbint, pbsuin, &
    27682768    pcts, pcntrb, pflux)
    2769   USE dimphy
     2769USE radopt_mod_h
     2770  USE radepsi_mod_h
     2771    USE dimphy
    27702772  IMPLICIT NONE
    2771   include "radepsi.h"
    2772   include "radopt.h"
    27732773
    27742774  ! PURPOSE.
     
    31433143SUBROUTINE lwb_lmdar4(pdt0, ptave, ptl, pb, pbint, pbsuin, pbsur, pbtop, &
    31443144    pdbsl, pga, pgb, pgasur, pgbsur, pgatop, pgbtop)
    3145   USE dimphy
     3145USE raddimlw_mod_h
     3146    USE dimphy
    31463147  USE radiation_ar4_param, ONLY: tintp, xp, ga, gb
    31473148  IMPLICIT NONE
    3148   include "raddimlw.h"
    31493149
    31503150  ! -----------------------------------------------------------------------
     
    45434543    pbtop, pdbsl, pemis, ppmb, ptave, pga, pgb, pgasur, pgbsur, pgatop, &
    45444544    pgbtop, pcntrb, pcts, pfluc)
    4545   USE dimphy
     4545USE raddimlw_mod_h
     4546    USE dimphy
    45464547  USE yomcst_mod_h
    45474548IMPLICIT NONE
    4548   include "raddimlw.h"
    45494549
    45504550
     
    46494649    pbsui, pbsur, pbtop, pdisd, pdisu, pemis, ppmb, pga, pgb, pgasur, pgbsur, &
    46504650    pgatop, pgbtop, pcts, pfluc)
    4651   USE dimphy
     4651USE radopt_mod_h
     4652  USE raddimlw_mod_h
     4653    USE dimphy
    46524654  IMPLICIT NONE
    4653   include "raddimlw.h"
    4654   include "radopt.h"
    46554655
    46564656  ! -----------------------------------------------------------------------
     
    49484948SUBROUTINE lwvd_lmdar4(kuaer, ktraer, pabcu, pdbdt, pga, pgb, pcntrb, pdisd, &
    49494949    pdisu)
    4950   USE dimphy
     4950USE raddimlw_mod_h
     4951    USE dimphy
    49514952  IMPLICIT NONE
    4952   include "raddimlw.h"
    49534953
    49544954  ! -----------------------------------------------------------------------
     
    51805180SUBROUTINE lwvn_lmdar4(kuaer, ktraer, pabcu, pdbsl, pga, pgb, padjd, padju, &
    51815181    pcntrb, pdbdt)
    5182   USE dimphy
     5182USE raddimlw_mod_h
     5183    USE dimphy
    51835184  USE radiation_ar4_param, ONLY: wg1
    51845185  IMPLICIT NONE
    5185   include "raddimlw.h"
    51865186
    51875187  ! -----------------------------------------------------------------------
     
    53735373END SUBROUTINE lwvn_lmdar4
    53745374SUBROUTINE lwtt_lmdar4(pga, pgb, puu, ptt)
    5375   USE dimphy
     5375USE raddimlw_mod_h
     5376    USE dimphy
    53765377  IMPLICIT NONE
    5377   include "raddimlw.h"
    53785378
    53795379  ! -----------------------------------------------------------------------
     
    55465546END SUBROUTINE lwtt_lmdar4
    55475547SUBROUTINE lwttm_lmdar4(pga, pgb, puu1, puu2, ptt)
    5548   USE dimphy
     5548USE raddimlw_mod_h
     5549    USE dimphy
    55495550  IMPLICIT NONE
    5550   include "raddimlw.h"
    55515551
    55525552  ! ------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.