Ignore:
Timestamp:
Oct 30, 2024, 2:31:56 PM (5 weeks ago)
Author:
abarral
Message:

Turn cv3param.h into module

Location:
LMDZ6/trunk/libf/phylmdiso
Files:
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/cv3_routines.F90

    r5285 r5299  
    1111  use mod_phys_lmdz_para
    1212  USE conema3_mod_h
     13  USE cv3param_mod_h
    1314  IMPLICIT NONE
    1415
     
    3536!***                 APPROACH TO QUASI-EQUILIBRIUM           ***
    3637!***                     IT MUST BE LESS THAN 0              ***
    37 
    38   include "cv3param.h"
    3938
    4039  INTEGER, INTENT(IN)              :: nd
     
    185184USE cvthermo_mod_h
    186185  USE cvflag_mod_h
     186USE cv3param_mod_h
    187187  IMPLICIT NONE
    188188
     
    190190!  Increment the counter sig(nd)
    191191! =====================================================================
    192 
    193   include "cv3param.h"
    194192
    195193!inputs:
     
    225223                      lv, lf, cpn, tv, gz, h, hm, th)
    226224  USE cvthermo_mod_h
     225  USE cv3param_mod_h
    227226  IMPLICIT NONE
    228227
     
    247246  REAL tvx, tvy ! convect3
    248247  REAL cpx(len, nd)
    249 
    250   include "cv3param.h"
    251 
    252248
    253249! ori      do 110 k=1,nlp
     
    325321  USE add_phys_tend_mod, ONLY: fl_cor_ebil
    326322  USE print_control_mod, ONLY: prt_level
     323  USE cv3param_mod_h
    327324  IMPLICIT NONE
    328325
     
    341338! - A,B explicitely defined (!...)
    342339! ================================================================
    343 
    344   include "cv3param.h"
    345340
    346341!inputs:
     
    700695#endif
    701696  USE cvthermo_mod_h
     697  USE cv3param_mod_h
    702698  IMPLICIT NONE
    703699
     
    714710!    - if icbs=icb, compute also tp(icb+1),tvp(icb+1) & clw(icb+1)
    715711! ----------------------------------------------------------------
    716 
    717   include "cv3param.h"
    718712
    719713! inputs:
     
    11461140SUBROUTINE cv3_trigger(len, nd, icb, plcl, p, th, tv, tvp, thnk, &
    11471141                       pbase, buoybase, iflag, sig, w0)
     1142  USE cv3param_mod_h
    11481143  IMPLICIT NONE
    11491144
     
    11621157! -> the buoyancy below cloud base not (yet) set to the cloud base buoyancy
    11631158! -------------------------------------------------------------------
    1164 
    1165   include "cv3param.h"
    11661159
    11671160! input:
     
    12761269#endif
    12771270#endif
    1278   IMPLICIT NONE
    1279 
    1280   include "cv3param.h"
     1271USE cv3param_mod_h
     1272    IMPLICIT NONE
     1273
    12811274
    12821275!inputs:
     
    14851478  USE cvflag_mod_h
    14861479  USE conema3_mod_h
     1480USE cv3param_mod_h
    14871481  IMPLICIT NONE
    14881482
     
    15041498!   - no inb1, only inb in output
    15051499! ---------------------------------------------------------------------
    1506 
    1507   include "cv3param.h"
    1508   include "YOMCST2.h"
     1500 include "YOMCST2.h"
    15091501
    15101502!inputs:
     
    25102502                       pbase, p, ph, tv, buoy, &
    25112503                       sig, w0, cape, m, iflag)
    2512   USE cvthermo_mod_h
     2504USE cv3param_mod_h
     2505    USE cvthermo_mod_h
    25132506  IMPLICIT NONE
    25142507
     
    25192512! ===================================================================
    25202513
    2521   include "cv3param.h"
    25222514
    25232515!input:
     
    27832775  USE cvthermo_mod_h
    27842776  USE cvflag_mod_h
     2777  USE cv3param_mod_h
    27852778  IMPLICIT NONE
    27862779
     
    27892782! - vectorisation de la partie normalisation des flux (do 789...)
    27902783! ---------------------------------------------------------------------
    2791 
    2792   include "cv3param.h"
    27932784
    27942785!inputs:
     
    36083599#endif
    36093600#endif
    3610   USE cvthermo_mod_h
     3601USE cv3param_mod_h
     3602    USE cvthermo_mod_h
    36113603  USE cvflag_mod_h
    36123604  IMPLICIT NONE
    36133605
    36143606
    3615   include "cv3param.h"
    36163607  include "nuage.h"
    36173608
     
    47204711#endif
    47214712#endif
    4722 USE conema3_mod_h
     4713USE cv3param_mod_h
     4714  USE conema3_mod_h
    47234715    USE cvthermo_mod_h
    47244716  USE cvflag_mod_h
    47254717  IMPLICIT NONE
    47264718
    4727   include "cv3param.h"
    47284719
    47294720!inputs:
     
    72897280                      ep, Vprecip, elij, clw, epmlmMm, eplaMm, &
    72907281                      icb, inb)
    7291   IMPLICIT NONE
    7292 
    7293   include "cv3param.h"
     7282USE cv3param_mod_h
     7283    IMPLICIT NONE
     7284
    72947285
    72957286!inputs:
     
    74247415#endif
    74257416#endif
    7426   IMPLICIT NONE
    7427 
    7428   include "cv3param.h"
     7417USE cv3param_mod_h
     7418    IMPLICIT NONE
     7419
    74297420
    74307421!inputs:
     
    76097600                 , pbase, p, ph, tv, buoy, sig, w0,iflag &
    76107601                 , epmax_diag)
    7611 USE conema3_mod_h
     7602USE cv3param_mod_h
     7603  USE conema3_mod_h
    76127604          USE cvthermo_mod_h
    76137605  USE cvflag_mod_h
     
    76197611        ! Toutes les autres variables fn de ep sont calculees plus bas.
    76207612
    7621   include "cv3param.h"
    76227613
    76237614! inputs:
  • LMDZ6/trunk/libf/phylmdiso/cv3a_compress.F90

    r4143 r5299  
    4141#endif
    4242
    43   IMPLICIT NONE
    44 
    45   include "cv3param.h"
     43USE cv3param_mod_h
     44    IMPLICIT NONE
     45
    4646
    4747  ! inputs:
  • LMDZ6/trunk/libf/phylmdiso/cv3a_uncompress.F90

    r4613 r5299  
    5656  USE infotrac_phy, ONLY : ntraciso=>ntiso
    5757#endif
    58   IMPLICIT NONE
    59 
    60   include "cv3param.h"
     58USE cv3param_mod_h
     59    IMPLICIT NONE
     60
    6161
    6262  ! inputs:
  • LMDZ6/trunk/libf/phylmdiso/cv3p_mixing.F90

    r5285 r5299  
    3939#endif
    4040#endif
    41   USE cvthermo_mod_h
     41USE cv3param_mod_h
     42    USE cvthermo_mod_h
    4243  USE cvflag_mod_h
    4344  IMPLICIT NONE
    4445
    45   include "cv3param.h"
    4646  include "YOMCST2.h"
    4747
  • LMDZ6/trunk/libf/phylmdiso/cv3param_mod_h.f90

    r5298 r5299  
    1 link ../phylmd/cv3param.h
     1link ../phylmd/cv3param_mod_h.f90
Note: See TracChangeset for help on using the changeset viewer.