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

Turn cvflag.h into a module

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

Legend:

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

    r5271 r5275  
    26682668#endif
    26692669
     2670  USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, &
     2671          ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac
    26702672  IMPLICIT NONE
    26712673
     
    26732675  include "cvthermo.h"
    26742676  include "cv30param.h"
    2675   include "cvflag.h"
    26762677
    26772678  ! inputs:
     
    34023403#endif
    34033404
     3405  USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, &
     3406          ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac
    34043407  IMPLICIT NONE
    34053408
    34063409  include "cvthermo.h"
    34073410  include "cv30param.h"
    3408   include "cvflag.h"
    34093411  include "conema3.h"
    34103412
  • 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:
  • LMDZ6/trunk/libf/phylmdiso/cv3p_mixing.F90

    r4491 r5275  
    3939#endif
    4040#endif
     41  USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, &
     42          ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac
    4143  IMPLICIT NONE
    4244
     
    4446  include "cv3param.h"
    4547  include "YOMCST2.h"
    46   include "cvflag.h"
    4748
    4849!inputs:
  • LMDZ6/trunk/libf/phylmdiso/cv_driver.F90

    r5274 r5275  
    12291229SUBROUTINE cv_flag(iflag_ice_thermo)
    12301230
     1231  USE cvflag_mod_h, ONLY: icvflag_Tpa, cvflag_grav, cvflag_ice, ok_optim_yield, ok_entrain, ok_homo_tend, &
     1232          ok_convstop, ok_intermittent, cvflag_prec_eject, qsat_depends_on_qt, adiab_ascent_mass_flux_depends_on_ejectliq, keepbug_ice_frac
    12311233  USE ioipsl_getin_p_mod, ONLY : getin_p
    12321234
     
    12491251  INTEGER iflag_ice_thermo
    12501252
    1251   include "cvflag.h"
    12521253
    12531254  ! -- si .TRUE., on rend la gravite plus explicite et eventuellement
  • LMDZ6/trunk/libf/phylmdiso/cvflag_mod_h.f90

    r5274 r5275  
    1 link ../phylmd/cvflag.h
     1link ../phylmd/cvflag_mod_h.f90
Note: See TracChangeset for help on using the changeset viewer.