Ignore:
Timestamp:
Oct 25, 2024, 4:16:13 PM (22 hours ago)
Author:
abarral
Message:

Turn cvflag.h into a module

File:
1 edited

Legend:

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

    r5217 r5275  
    77SUBROUTINE cv3_param(nd, k_upper, delt)
    88
     9  USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, &
     10          ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac
    911  USE ioipsl_getin_p_mod, ONLY : getin_p
    1012  use mod_phys_lmdz_para
     
    3638
    3739  include "cv3param.h"
    38   include "cvflag.h"
    3940  include "conema3.h"
    4041
     
    184185SUBROUTINE cv3_incrcount(len, nd, delt, sig)
    185186
    186 IMPLICIT NONE
     187USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, &
     188          ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac
     189  IMPLICIT NONE
    187190
    188191! =====================================================================
     
    191194
    192195  include "cv3param.h"
    193   include "cvflag.h"
    194196
    195197!inputs:
     
    14821484#endif
    14831485#endif
     1486  USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, &
     1487          ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac
    14841488  IMPLICIT NONE
    14851489
     
    15051509  include "cv3param.h"
    15061510  include "conema3.h"
    1507   include "cvflag.h"
    15081511  include "YOMCST2.h"
    15091512
     
    27812784#endif
    27822785#endif
     2786  USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, &
     2787          ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac
    27832788  IMPLICIT NONE
    27842789
     
    27902795  include "cvthermo.h"
    27912796  include "cv3param.h"
    2792   include "cvflag.h"
    27932797
    27942798!inputs:
     
    36083612#endif
    36093613#endif
     3614  USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, &
     3615          ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac
    36103616  IMPLICIT NONE
    36113617
     
    36133619  include "cvthermo.h"
    36143620  include "cv3param.h"
    3615   include "cvflag.h"
    36163621  include "nuage.h"
    36173622
     
    47204725#endif
    47214726#endif
     4727  USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, &
     4728          ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac
    47224729  IMPLICIT NONE
    47234730
    47244731  include "cvthermo.h"
    47254732  include "cv3param.h"
    4726   include "cvflag.h"
    47274733  include "conema3.h"
    47284734
     
    76097615                 , pbase, p, ph, tv, buoy, sig, w0,iflag &
    76107616                 , epmax_diag)
    7611         implicit none
     7617        USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, &
     7618          ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac
     7619  implicit none
    76127620
    76137621        ! On fait varier epmax en fn de la cape
     
    76177625
    76187626  include "cvthermo.h"
    7619   include "cv3param.h" 
     7627  include "cv3param.h"
    76207628  include "conema3.h"
    7621   include "cvflag.h"
    76227629
    76237630! inputs:
Note: See TracChangeset for help on using the changeset viewer.