Changeset 3726 for trunk/LMDZ.MARS
- Timestamp:
- Apr 17, 2025, 9:45:14 AM (2 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 67 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3715 r3726 4795 4795 Fix for the 1D following the reindexing in restartfi files: the "ind_cell_glo" 4796 4796 array must also be allocated and filled at initialization. 4797 4798 == 17/04/2025 == EM 4799 Turn "callkeys.h" into module "callkeys_mod.F90" -
trunk/LMDZ.MARS/libf/aeronomars/calchim_mod.F90
r3466 r3726 40 40 use iono_h, only: temp_elect 41 41 use wstats_mod, only: wstats 42 use callkeys_mod, only: photochem 42 43 43 44 implicit none … … 80 81 ! 81 82 !======================================================================= 82 83 include "callkeys.h"84 83 85 84 ! input: -
trunk/LMDZ.MARS/libf/aeronomars/chemthermos.F90
r3464 r3726 40 40 ! ------------------ 41 41 ! 42 include "callkeys.h" 42 43 43 !----------------------------------------------------------------------- 44 44 ! Input/Output -
trunk/LMDZ.MARS/libf/aeronomars/euvheat.F90
r3464 r3726 14 14 use conc_mod, only: rnew, cpnew 15 15 use hrtherm_mod, only: hrtherm 16 use callkeys_mod, only: euveff 16 17 IMPLICIT NONE 17 18 !======================================================================= … … 38 39 ! ------------------ 39 40 ! 40 include "callkeys.h" 41 41 42 !----------------------------------------------------------------------- 42 43 ! Input/Output -
trunk/LMDZ.MARS/libf/aeronomars/hrtherm.F
r3464 r3726 20 20 21 21 implicit none 22 23 c common variables and constants24 include "callkeys.h"25 26 22 27 23 c local parameters and variables -
trunk/LMDZ.MARS/libf/aeronomars/inichim_newstart.F90
r3466 r3726 14 14 use dust_param_mod, only: doubleq, submicron, dustbin 15 15 use intrplf_mod, only: intrplf 16 use callkeys_mod, only: microphys, rdstorm, topflows 17 use callkeys_mod, only: co2clouds, co2useh2o, meteo_flux 16 18 implicit none 17 19 … … 44 46 !======================================================================= 45 47 46 include "callkeys.h"47 48 48 49 ! inputs : -
trunk/LMDZ.MARS/libf/aeronomars/jthermcalc_e107.F
r3464 r3726 26 26 use comsaison_h, only: dist_sol 27 27 use jthermcalc_util, only: column, interfast 28 use callkeys_mod, only: solvarmod, fixed_euv_value 28 29 29 30 implicit none 30 31 include "callkeys.h"32 31 33 32 c input and output variables -
trunk/LMDZ.MARS/libf/aeronomars/jthermcalc_util.F
r3464 r3726 23 23 24 24 implicit none 25 26 27 c common variables and constants28 include 'callkeys.h'29 30 25 31 26 … … 719 714 use param_v4_h, only: ninter, 720 715 . fluxtop, ct1, ct2, p1, p2 716 use callkeys_mod, only: solvarmod 721 717 implicit none 722 718 723 719 724 ! common variables and constants725 include "callkeys.h"726 727 728 720 ! Arguments 729 721 730 real date722 real,intent(inout) :: date 731 723 732 724 -
trunk/LMDZ.MARS/libf/aeronomars/moldiffcoeff.F
r3466 r3726 22 22 c 23 23 c======================================================================= 24 #include "callkeys.h"25 24 26 25 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/aeronomars/moldiffcoeff_red.F
r3015 r3726 18 18 c 19 19 c======================================================================= 20 include "callkeys.h"21 20 22 21 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/aeronomars/param_read_e107.F
r3466 r3726 25 25 USE mod_phys_lmdz_para, ONLY: is_master 26 26 USE mod_phys_lmdz_transfert_para, ONLY: bcast 27 use callkeys_mod, only: solvaryear 27 28 28 29 implicit none 29 30 30 31 31 c common variables and constants32 include "callkeys.h"33 34 35 32 c local variables 36 33 -
trunk/LMDZ.MARS/libf/aeronomars/paramfoto_compact.F
r3464 r3726 2017 2017 2018 2018 implicit none 2019 2020 include 'callkeys.h'2021 2019 2022 2020 c arguments -
trunk/LMDZ.MARS/libf/aeronomars/photochemistry.F90
r3466 r3726 35 35 36 36 implicit none 37 38 include "callkeys.h"39 37 40 38 !=================================================================== … … 3947 3945 & igcm_hdo_vap, igcm_od, igcm_d, igcm_hd, & 3948 3946 & igcm_do2, igcm_hdo2 3949 3950 3947 implicit none 3951 3952 include "callkeys.h"3953 3948 3954 3949 !ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc … … 4255 4250 implicit none 4256 4251 4257 #include "callkeys.h"4258 4259 4252 !ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 4260 4253 ! inputs: -
trunk/LMDZ.MARS/libf/aeronomars/surfacearea.F
r3466 r3726 16 16 use comcstfi_h, only: pi 17 17 use wstats_mod, only: wstats 18 use callkeys_mod, only: microphys 18 19 implicit none 19 20 … … 25 26 ! version 1.2 april 2012 26 27 !========================================================================== 27 28 include "callkeys.h"29 28 30 29 ! input -
trunk/LMDZ.MARS/libf/aeronomars/thermosphere.F
r3710 r3726 24 24 USE comcstfi_h, only: r, cpp 25 25 use mod_phys_lmdz_para, only : is_master 26 use callkeys_mod, only: calleuv, callconduct, callmoldiff 27 use callkeys_mod, only: callmolvis 26 28 implicit none 27 28 include "callkeys.h"29 29 30 30 integer,intent(in) :: ngrid ! number of atmospheric columns -
trunk/LMDZ.MARS/libf/phymars/aeropacity_mod.F
r3125 r3726 41 41 use surfdat_h,only: alpha_hmons,contains_mons 42 42 use read_dust_scenario_mod, only: read_dust_scenario 43 use callkeys_mod, only: co2clouds, activeco2ice, 44 & water, activice, CLFvarying, 45 & CLFvaryingCO2, iaervar, 46 & rdstorm, topflows 43 47 44 48 IMPLICIT NONE … … 60 64 c 61 65 c======================================================================= 62 include "callkeys.h"63 66 64 67 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/aeroptproperties.F
r2932 r3726 9 9 & omegaREFvis, omegaREFir 10 10 use write_output_mod, only: write_output 11 11 12 IMPLICIT NONE 12 13 c ============================================================= … … 27 28 c Authors: J.-B. Madeleine, F. Forget, F. Montmessin 28 29 c ============================================================= 29 30 include "callkeys.h"31 30 32 31 c Local variables -
trunk/LMDZ.MARS/libf/phymars/albedocaps.F90
r3586 r3726 13 13 14 14 implicit none 15 16 include"callkeys.h"17 15 18 16 ! arguments: -
trunk/LMDZ.MARS/libf/phymars/callkeys_mod.F90
r3725 r3726 1 ! 2 ! For Fortran 77/Fortran 90 compliance always use line continuation 3 ! symbols '&' in columns 73 and 6 4 ! 5 ! NB: to keep commons aligned, it is better to split them in groups 6 ! of given types (logical, integer, real, ...) 1 MODULE callkeys_mod 7 2 8 COMMON/callkeys_l/callrad,calldifv,calladj,callcond,callsoil & 9 & ,season,diurnal,calllott,calleofdump & 10 & ,callnirco2,callnlte,callthermos,callconduct,calleuv & 11 & ,callmolvis,callmoldiff,thermochem,thermoswater,callemis & 12 & ,callg2d,linear,rayleigh & 13 & ,scavenging,sedimentation & 14 & ,activice,water,microphys,supersat,caps,photochem & 15 & ,calltherm,callrichsl,callslope,tituscap,callyamada4,co2clouds & 16 & ,co2useh2o,meteo_flux,activeco2ice,CLFvaryingCO2,spantCO2 & 17 & ,CLFvarying,satindexco2,rdstorm,topflows,calllott_nonoro & 18 & ,latentheat_surfwater,gwd_convective_source,startphy_file & 19 & ,hdo,hdofrac,cst_cap_albedo,temp_dependent_m,refill_watercap & 20 & ,cloud_adapt_ts,callatke,surfaceice_tifeedback & 21 & , poreice_tifeedback 22 !$OMP THREADPRIVATE(/callkeys_l/) 3 IMPLICIT NONE 23 4 24 25 COMMON/callkeys_i/iradia,iaervar,ilwd,ilwb,ilwn,ncouche & 26 & ,nltemodel,nircorr,solvarmod,solvaryear,dustinjection 27 !$OMP THREADPRIVATE(/callkeys_i/) 28 29 COMMON/callkeys_r/semi,alphan,euveff, & 30 & tke_heat_flux,dustrefir,fixed_euv_value,CLFfixval, & 31 & coeff_injection,ti_injection,tf_injection,coeff_detrainment 32 !$OMP THREADPRIVATE(/callkeys_r/) 33 34 LOGICAL callrad,calldifv,calladj,callcond,callsoil, & 35 & season,diurnal,calllott,calllott_nonoro & 36 & ,calleofdump & 37 & ,callnirco2,callnlte,callthermos,callconduct, & 38 & calleuv,callmolvis,callmoldiff,thermochem,thermoswater & 39 & ,calltherm,callrichsl,callslope,tituscap,callyamada4,callatke 5 logical,save :: startphy_file 6 !$OMP THREADPRIVATE(startphy_file) 40 7 41 COMMON/aeroutput/dustiropacity 42 !$OMP THREADPRIVATE(/aeroutput/) 8 logical,save :: callrad,calldifv,calladj,callcond,callsoil 9 !$OMP THREADPRIVATE(callrad,calldifv,calladj,callcond,callsoil) 10 logical,save :: season,diurnal,calllott,calllott_nonoro 11 !$OMP THREADPRIVATE(season,diurnal,calllott,calllott_nonoro) 12 logical,save :: calleofdump 13 !$OMP THREADPRIVATE(calleofdump) 14 logical,save :: callnirco2,callnlte,callthermos,callconduct 15 !$OMP THREADPRIVATE(callnirco2,callnlte,callthermos,callconduct) 16 logical,save :: calleuv,callmolvis,callmoldiff,thermochem,thermoswater 17 !$OMP THREADPRIVATE(calleuv,callmolvis,callmoldiff,thermochem,thermoswater) 18 logical,save :: calltherm,callrichsl,callslope,tituscap 19 !$OMP THREADPRIVATE(calltherm,callrichsl,callslope,tituscap) 20 logical,save :: callyamada4,callatke 21 !$OMP THREADPRIVATE(callyamada4,callatke) 22 logical,save :: callemis 23 logical,save :: callg2d 24 !$OMP THREADPRIVATE(callemis,callg2d) 25 logical,save :: linear ! ?!? 26 !$OMP THREADPRIVATE(linear) 27 logical,save :: gwd_convective_source 28 !$OMP THREADPRIVATE(gwd_convective_source) 43 29 44 logical startphy_file 30 real,save :: semi ! ?!? 31 !$OMP THREADPRIVATE(semi) 32 real,save :: alphan ! ?!? 33 !$OMP THREADPRIVATE(alphan) 34 real,save :: fixed_euv_value 35 !$OMP THREADPRIVATE(fixed_euv_value) 36 real,save :: euveff 37 !$OMP THREADPRIVATE(euveff) 38 real,save :: tke_heat_flux 39 !$OMP THREADPRIVATE(tke_heat_flux) 40 real,save :: coeff_injection ! dust injection scheme coefficient 41 !$OMP THREADPRIVATE(coeff_injection) 42 real,save :: ti_injection ! local time of beginning injection 43 real,save :: tf_injection ! local time of end injection 44 !$OMP THREADPRIVATE(ti_injection,tf_injection) 45 real,save :: coeff_detrainment ! rocket dust detrainment coefficient 46 !$OMP THREADPRIVATE(coeff_detrainment) 47 real,save :: CLFfixval 48 !$OMP THREADPRIVATE(CLFfixval) 45 49 46 logical callemis 47 logical callg2d 48 logical linear 49 logical gwd_convective_source 50 integer,save :: iaervar 51 !$OMP THREADPRIVATE(iaervar) 52 integer,save :: iradia 53 !$OMP THREADPRIVATE(iradia) 54 integer,save :: ilwd 55 integer,save :: ilwb 56 integer,save :: ilwn 57 !$OMP THREADPRIVATE(ilwd,ilwb,ilwn) 58 integer,save :: ncouche 59 !$OMP THREADPRIVATE(ncouche) 60 integer,save :: solvarmod ! model for solar EUV variation 61 !$OMP THREADPRIVATE(solvarmod) 62 integer,save :: solvaryear ! mars year for realisticly varying solar EUV 63 !$OMP THREADPRIVATE(solvaryear) 64 integer,save :: dustinjection ! dust injection scheme number 65 !$OMP THREADPRIVATE(dustinjection) 50 66 51 real semi 52 real alphan 53 real fixed_euv_value 54 real euveff 55 real tke_heat_flux 56 real coeff_injection ! dust injection scheme coefficient 57 real ti_injection ! local time of beginning injection 58 real tf_injection ! local time of end injection 59 real coeff_detrainment ! rocket dust detrainment coefficient 60 real CLFfixval 67 logical,save :: rayleigh 68 !$OMP THREADPRIVATE(rayleigh) 69 logical,save :: scavenging 70 !$OMP THREADPRIVATE(scavenging) 71 logical,save :: rdstorm ! rocket dust storm parametrization 72 !$OMP THREADPRIVATE(rdstorm) 73 logical,save :: topflows ! entrainment by mountain top dust flows parametrization 74 !$OMP THREADPRIVATE(topflows) 75 logical,save :: latentheat_surfwater ! latent heat release from ground water ice sublimation/condensation 76 !$OMP THREADPRIVATE(latentheat_surfwater) 77 logical,save :: cst_cap_albedo ! polar cap albedo remains unchanged by water frost deposition 78 !$OMP THREADPRIVATE(cst_cap_albedo) 79 logical,save :: temp_dependent_m ! temperature-dependent water contact parameter 80 !$OMP THREADPRIVATE(temp_dependent_m) 81 logical,save :: refill_watercap ! h2o_ice_s is converted to watercap when above threshold 82 !$OMP THREADPRIVATE(refill_watercap) 83 logical,save :: cloud_adapt_ts ! adaptative timestep for cloud microphysics 84 !$OMP THREADPRIVATE(cloud_adapt_ts) 85 logical,save :: sedimentation 86 !$OMP THREADPRIVATE(sedimentation) 87 logical,save :: activice,surfaceice_tifeedback,supersat,caps 88 !$OMP THREADPRIVATE(activice,surfaceice_tifeedback,supersat,caps) 89 logical,save :: poreice_tifeedback 90 !$OMP THREADPRIVATE(poreice_tifeedback) 91 logical,save :: co2clouds,co2useh2o,meteo_flux,CLFvaryingCO2,satindexco2 92 !$OMP THREADPRIVATE(co2clouds,co2useh2o,meteo_flux,CLFvaryingCO2,satindexco2) 93 logical,save :: activeco2ice 94 !$OMP THREADPRIVATE(activeco2ice) 95 integer,save :: spantCO2 96 !$OMP THREADPRIVATE(spantCO2) 97 logical,save :: CLFvarying 98 !$OMP THREADPRIVATE(CLFvarying) 99 logical,save :: water 100 !$OMP THREADPRIVATE(water) 101 logical,save :: hdo 102 logical,save :: hdofrac 103 !$OMP THREADPRIVATE(hdo,hdofrac) 104 logical,save :: microphys 105 !$OMP THREADPRIVATE(microphys) 106 logical,save :: photochem 107 !$OMP THREADPRIVATE(photochem) 108 integer,save :: nltemodel 109 !$OMP THREADPRIVATE(nltemodel) 110 integer,save :: nircorr 111 !$OMP THREADPRIVATE(nircorr) 61 112 62 integer iaervar 63 integer iradia 64 integer ilwd 65 integer ilwb 66 integer ilwn 67 integer ncouche 68 integer solvarmod ! model for solar EUV variation 69 integer solvaryear ! mars year for realisticly varying solar EUV 70 integer dustinjection ! dust injection scheme number 113 character(len=100),save :: dustiropacity 114 !$OMP THREADPRIVATE(dustiropacity) 115 real,save :: dustrefir 116 !$OMP THREADPRIVATE(dustrefir) 117 118 integer,parameter :: swrtype=2 ! type of short wave (solar wavelength) radiative 119 ! transfer to use 1: Fouquart 2: Toon. 71 120 72 logical rayleigh 73 logical scavenging 74 logical rdstorm ! rocket dust storm parametrization 75 logical topflows ! entrainment by mountain top dust flows parametrization 76 logical latentheat_surfwater ! latent heat release from ground water ice sublimation/condensation 77 logical cst_cap_albedo ! polar cap albedo remains unchanged by water frost deposition 78 logical temp_dependent_m ! temperature-dependent water contact parameter 79 logical refill_watercap ! h2o_ice_s is converted to watercap when above threshold 80 logical cloud_adapt_ts ! adaptative timestep for cloud microphysics 81 logical sedimentation 82 logical activice,surfaceice_tifeedback,supersat,caps 83 logical poreice_tifeedback 84 logical co2clouds,co2useh2o,meteo_flux,CLFvaryingCO2,satindexco2 85 logical activeco2ice 86 integer spantCO2 87 logical CLFvarying 88 logical water 89 logical hdo 90 logical hdofrac 91 logical microphys 92 logical photochem 93 integer nltemodel 94 integer nircorr 95 96 character(len=100) dustiropacity 97 real dustrefir 98 99 integer swrtype ! type of short wave (solar wavelength) radiative 100 ! transfer to use 1: Fouquart 2: Toon. 101 parameter (swrtype=2) 102 ! parameter (swrtype=2) 121 END MODULE callkeys_mod -
trunk/LMDZ.MARS/libf/phymars/callradite_mod.F
r3468 r3726 28 28 use swmain_mod, only: swmain 29 29 use dust_param_mod, only: doubleq, active, submicron 30 use callkeys_mod, only: water, activice, rdstorm, topflows, 31 & co2clouds, activeco2ice 30 32 IMPLICIT NONE 31 33 c======================================================================= … … 147 149 c ------------- 148 150 c 149 include "callkeys.h"150 151 151 152 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/callsedim_mod.F
r2628 r3726 27 27 USE dimradmars_mod, only: naerkind 28 28 USE dust_param_mod, ONLY: doubleq 29 use callkeys_mod, only: water, activice, microphys, rdstorm, 30 & topflows, co2clouds, co2useh2o, 31 & meteo_flux 29 32 IMPLICIT NONE 30 33 … … 49 52 c declarations: 50 53 c ------------- 51 52 include "callkeys.h"53 54 54 55 c -
trunk/LMDZ.MARS/libf/phymars/co2cloud.F90
r3008 r3726 110 110 use microphys_h, only: nbinco2_cld, rad_cldco2, mco2 111 111 use write_output_mod, only: write_output 112 use callkeys_mod, only: sedimentation, CLFvaryingCO2, co2useh2o, & 113 satindexco2, meteo_flux 112 114 #ifndef MESOSCALE 113 115 use vertical_layers_mod, only: ap, bp … … 116 118 implicit none 117 119 118 include "callkeys.h"119 120 !----------------------------------------------------------------------------------------------------------------------! 120 121 ! VARIABLES DECLARATION -
trunk/LMDZ.MARS/libf/phymars/co2condens_mod.F
r3586 r3726 38 38 use comslope_mod, ONLY: subslope_dist,def_slope_mean 39 39 USE paleoclimate_mod, ONLY: paleoclimate 40 use callkeys_mod, only: caps, co2clouds 40 41 41 42 IMPLICIT NONE … … 56 57 c ------------------ 57 58 c 58 include "callkeys.h"59 59 60 60 c----------------------------------------------------------------------- … … 1027 1027 use comcstfi_h, only: g 1028 1028 use dust_param_mod, only: freedust 1029 use callkeys_mod, only: water, microphys 1029 1030 IMPLICIT NONE 1030 include "callkeys.h" ! for the flags water and microphys1031 1031 c 1032 1032 c -
trunk/LMDZ.MARS/libf/phymars/co2snow.F
r2616 r3726 28 28 29 29 IMPLICIT NONE 30 31 #include "callkeys.h"32 30 33 31 c======================================================================= -
trunk/LMDZ.MARS/libf/phymars/compute_dtau_mod.F90
r2932 r3726 26 26 USE read_dust_scenario_mod, only: read_dust_scenario 27 27 use write_output_mod, only: write_output 28 use callkeys_mod, only: iaervar, coeff_injection, ti_injection, & 29 tf_injection 28 30 29 31 IMPLICIT NONE 30 31 include "callkeys.h"32 32 33 33 INTEGER, INTENT(in) :: ngrid -
trunk/LMDZ.MARS/libf/phymars/conc_mod.F90
r3185 r3726 59 59 cpnew(:,:)=cpp 60 60 mmean(:,:)=mugaz 61 return 61 62 62 end subroutine init_r_cp_mu 63 63 … … 86 86 !======================================================================= 87 87 88 ! declarations89 90 include "callkeys.h"91 92 88 ! input/output 93 89 … … 377 373 end do 378 374 379 return380 375 end subroutine update_r_cp_mu_ak 381 376 -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r3712 r3726 44 44 & ads_massive_ice 45 45 use nonoro_gwd_mix_mod, only: calljliu_gwimix 46 use callkeys_mod, only: startphy_file, activice, activeco2ice, 47 & alphan, calladj, callatke, callcond, 48 & callconduct, calldifv, callemis, 49 & calleofdump, calleuv, callg2d, calllott, 50 & calllott_nonoro, callmoldiff, callmolvis, 51 & callnirco2, callnlte, callrad, callrichsl, 52 & callslope, callsoil, calltherm, caps, 53 & callthermos, callyamada4, CLFvarying, 54 & CLFvaryingCO2, CLFfixval, 55 & cloud_adapt_ts, co2clouds, 56 & co2useh2o, coeff_detrainment, diurnal, 57 & coeff_injection, dustinjection, 58 & cst_cap_albedo, dustiropacity, dustrefir, 59 & euveff, fixed_euv_value, hdo, hdofrac, 60 & iaervar, ilwb, ilwd, ilwn, iradia, 61 & linear, latentheat_surfwater, microphys, 62 & meteo_flux, ncouche, nircorr, nltemodel, 63 & photochem, poreice_tifeedback, rayleigh, 64 & rdstorm, refill_watercap, satindexco2, 65 & scavenging, season, sedimentation, semi, 66 & solvarmod, solvaryear, spantCO2, supersat, 67 & surfaceice_tifeedback, temp_dependent_m, 68 & tf_injection, ti_injection, thermochem, 69 & thermoswater, tituscap, tke_heat_flux, 70 & topflows, water 46 71 47 72 IMPLICIT NONE 48 49 include "callkeys.h"50 73 51 74 INTEGER,INTENT(IN) :: ngrid ! number of atmospheric columns -
trunk/LMDZ.MARS/libf/phymars/convadj.F
r2823 r3726 9 9 & igcm_h2o_vap ! index of water vapor tracer 10 10 use comcstfi_h, only: g 11 use callkeys_mod, only: water 11 12 implicit none 12 13 … … 27 28 ! 28 29 !================================================================== 29 30 ! ------------31 ! Declarations32 ! ------------33 34 include "callkeys.h"35 36 30 37 31 ! Arguments -
trunk/LMDZ.MARS/libf/phymars/dyn1d/init_testphys1d_mod.F90
r3715 r3726 45 45 use comslope_mod, only: nslope, subslope_dist, ini_comslope_h, end_comslope_h 46 46 use co2condens_mod, only: CO2cond_ps 47 use callkeys_mod, only: water, photochem, callthermos 47 48 ! Mostly for XIOS outputs: 48 49 use mod_const_mpi, only: COMM_LMDZ … … 51 52 52 53 include "dimensions.h" 53 include "callkeys.h"54 54 55 55 !======================================================================= -
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F90
r3586 r3726 22 22 use parallel_lmdz, only: init_parallel 23 23 use version_info_mod, only: print_version_info 24 use callkeys_mod, only: water 24 25 25 26 implicit none … … 46 47 47 48 include "dimensions.h" 48 !#include "dimradmars.h"49 !#include "comgeomfi.h"50 !#include "surfdat.h"51 !#include "slope.h"52 !#include "comsoil.h"53 !#include "comdiurn.h"54 include "callkeys.h"55 !#include "comsaison.h"56 !#include "control.h"57 include "netcdf.inc"58 !#include "advtrac.h"59 49 60 50 !-------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/hdo_surfex_mod.F
r3008 r3726 19 19 use microphys_h, only: molco2, molh2o, molhdo 20 20 use write_output_mod, only: write_output 21 use callkeys_mod, only: hdofrac 21 22 22 23 implicit none … … 25 26 c for HDO, based of the fluxes for H2O 26 27 c L. Rossi.; M. Vals 2019 27 c------------------------------------------------------------------28 include "callkeys.h"29 28 c------------------------------------------------------------------ 30 29 c Arguments: … … 164 163 c & ' ',alpha_c) 165 164 166 return167 165 end subroutine hdo_surfex 168 166 c------------------------------------------------------------------ -
trunk/LMDZ.MARS/libf/phymars/improvedclouds_mod.F
r3127 r3726 23 23 use growthrate_mod, only: growthrate 24 24 use write_output_mod, only: write_output 25 use callkeys_mod, only: activice, scavenging, cloud_adapt_ts, 26 & hdo, hdofrac 25 27 implicit none 26 28 … … 46 48 c A. Spiga, optimization (February 2012) 47 49 c J. Naar, adaptative subtimestep now done here (June 2023) 48 c------------------------------------------------------------------49 include "callkeys.h"50 50 c------------------------------------------------------------------ 51 51 c Inputs/outputs: -
trunk/LMDZ.MARS/libf/phymars/improvedco2clouds_mod.F90
r3008 r3726 80 80 use microphys_h, only: nbinco2_cld, rad_cldco2, m0co2, mco2 81 81 use microphys_h, only: mteta, mtetaco2 82 use callkeys_mod, only: co2useh2o, meteo_flux 82 83 83 84 implicit none 84 85 include "callkeys.h"86 85 87 86 !----------------------------------------------------------------------------------------------------------------------! -
trunk/LMDZ.MARS/libf/phymars/initracer.F
r3027 r3726 4 4 use comcstfi_h, only: pi 5 5 use dust_param_mod, only: doubleq, submicron, dustbin 6 use callkeys_mod, only: water, microphys, scavenging, rdstorm, 7 & topflows, photochem, callthermos, hdo, 8 & callnlte, nltemodel, dustinjection, 9 & co2clouds, co2useh2o, meteo_flux 6 10 IMPLICIT NONE 7 11 c======================================================================= … … 24 28 c======================================================================= 25 29 26 27 include "callkeys.h"28 30 29 31 integer,intent(in) :: ngrid ! number of atmospheric columns -
trunk/LMDZ.MARS/libf/phymars/lwdiff.F
r1266 r3726 7 7 & ndlo2 8 8 use yomlw_h, only: nlaylte 9 USE comcstfi_h9 use comcstfi_h, only: pi 10 10 IMPLICIT NONE 11 11 12 #include "callkeys.h"13 14 12 C----------------------------------------------------------------------- 15 13 C -
trunk/LMDZ.MARS/libf/phymars/lwflux.F
r3004 r3726 21 21 implicit none 22 22 23 include "callkeys.h"24 25 23 c---------------------------------------------------------------------- 26 24 c 0.1 arguments -
trunk/LMDZ.MARS/libf/phymars/lwi.F
r3004 r3726 14 14 USE comcstfi_h, ONLY: g, cpp 15 15 USE time_phylmdz_mod, ONLY: dtphys 16 use callkeys_mod, only: semi, iradia 16 17 implicit none 17 18 18 include "callkeys.h"19 20 19 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 21 20 C -
trunk/LMDZ.MARS/libf/phymars/lwmain_mod.F
r3004 r3726 23 23 use lwi_mod, only: lwi 24 24 use lwflux_mod, only: lwflux 25 use callkeys_mod, only: ilwb, ilwd, ilwn 25 26 26 27 implicit none 27 28 28 c declarations29 c -------------30 include "callkeys.h"31 32 29 c---------------------------------------------------------------------- 33 30 c 0.1 arguments -
trunk/LMDZ.MARS/libf/phymars/lwu.F
r1917 r3726 37 37 implicit none 38 38 39 include "callkeys.h"40 41 39 c---------------------------------------------------------------------- 42 40 c 0.1 arguments -
trunk/LMDZ.MARS/libf/phymars/lwxd.F
r1917 r3726 34 34 use dimradmars_mod, only: ndlon, nuco2, nflev, ndlo2 35 35 use yomlw_h, only: nlaylte, xi, xi_emis 36 use callkeys_mod, only: callemis 36 37 implicit none 37 38 include "callkeys.h"39 38 40 39 c---------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/lwxn.F
r1266 r3726 72 72 use dimradmars_mod, only: ndlo2, nuco2, ndlon, nflev 73 73 use yomlw_h, only: nlaylte, xi, xi_ground, xi_emis 74 use callkeys_mod, only: linear, alphan, ncouche 74 75 implicit none 75 76 #include "callkeys.h"77 76 78 77 c---------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/nirco2abs.F
r3712 r3726 13 13 USE time_phylmdz_mod, ONLY: daysec 14 14 use nirdata_mod, only: npres, alfa, corgcm, oco21d, pres1d 15 use callkeys_mod, only: diurnal, nircorr 15 16 IMPLICIT NONE 16 17 c======================================================================= … … 55 56 c ------------------ 56 57 c 57 include "callkeys.h"58 58 59 59 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/nltecool.F
r3016 r3726 193 193 use tracer_mod, only: igcm_co2, igcm_co, igcm_o, igcm_n2, mmol 194 194 use conc_mod, only: mmean 195 use callkeys_mod, only: nltemodel 195 196 implicit none 196 197 include "callkeys.h"198 197 199 198 c Input and output variables -
trunk/LMDZ.MARS/libf/phymars/nlthermeq.F
r3016 r3726 16 16 use yomlw_h, only: nlaylte 17 17 use nlteparams_h, only: ptrans, pminte, zw 18 use callkeys_mod, only: callnlte 18 19 implicit none 19 include "callkeys.h"20 20 21 21 c … … 26 26 c 27 27 c Local: 28 integer i gpmax, ismax29 logical firstcall30 28 integer ismax 29 integer,save :: igpmax 30 logical,save :: firstcall = .true. 31 31 !$OMP THREADPRIVATE(firstcall,igpmax) 32 32 33 data firstcall /.true./34 save firstcall, igpmax35 33 c 36 34 if(firstcall) then -
trunk/LMDZ.MARS/libf/phymars/nonoro_gwd_mix_mod.F90
r3398 r3726 36 36 use geometry_mod, only: cell_area 37 37 use write_output_mod, only: write_output 38 #ifdef CPP_XIOS39 use xios_output_mod, only: send_xios_field40 #endif41 38 42 39 implicit none 43 include "callkeys.h"44 40 45 41 CHARACTER (LEN=20) :: modname='NONORO_GWD_MIX' -
trunk/LMDZ.MARS/libf/phymars/nonoro_gwd_ran_mod.F90
r3263 r3726 48 48 use geometry_mod, only: cell_area 49 49 use write_output_mod, only: write_output 50 #ifdef CPP_XIOS51 use xios_output_mod, only: send_xios_field52 #endif53 50 54 51 implicit none 55 include "callkeys.h"56 52 57 53 CHARACTER (LEN=20) :: modname='nonoro_gwd_ran' -
trunk/LMDZ.MARS/libf/phymars/nuclea.F
r3064 r3726 9 9 use microphys_h, only: nbin_cld, rad_cld, nav, mteta, m0 10 10 use microphys_h, only: desorp, kbz, nus, rgp, surfdif, vo1 11 use callkeys_mod, only: temp_dependent_m, cloud_adapt_ts 11 12 implicit none 12 13 * * … … 20 21 * Optimisation by A. Spiga (February 2012) * 21 22 ******************************************************* 22 23 include "callkeys.h"24 23 25 24 c Inputs -
trunk/LMDZ.MARS/libf/phymars/nucleaco2.F90
r3008 r3726 29 29 ! nucrate_h2o en sortie aussi : 30 30 !nucleation sur dust et h2o separement ici 31 32 include "callkeys.h"33 31 34 32 ! Inputs -
trunk/LMDZ.MARS/libf/phymars/pbl_parameters_mod.F90
r3325 r3726 28 28 use watersat_mod, only: watersat 29 29 use paleoclimate_mod, only: include_waterbuoyancy 30 use callkeys_mod, only: calladj, calltherm, callatke 30 31 31 32 IMPLICIT NONE … … 79 80 ! Declarations: 80 81 ! ------------- 81 82 #include "callkeys.h"83 82 84 83 ! Arguments: -
trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90
r3619 r3726 34 34 use comcstfi_h, only: pi 35 35 use geometry_mod, only: latitude 36 use callkeys_mod, only: startphy_file, rdstorm, hdo 36 37 37 38 implicit none 38 39 include "callkeys.h"40 39 41 40 !====================================================================== -
trunk/LMDZ.MARS/libf/phymars/phyredem.F90
r3619 r3726 221 221 use comslope_mod, only: nslope 222 222 use paleoclimate_mod, only: paleoclimate 223 use callkeys_mod, only: calltherm, dustinjection, calllott_nonoro 223 224 implicit none 224 225 include "callkeys.h"226 225 227 226 character(len=*),intent(in) :: filename -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r3612 r3726 128 128 use lmdz_atke_turbulence_ini, only : atke_ini 129 129 use waterice_tifeedback_mod, only : waterice_tifeedback 130 use callkeys_mod, only: calladj, calltherm, callatke, calldifv 131 use callkeys_mod, only: callrichsl, tke_heat_flux 132 use callkeys_mod, only: calllott, calllott_nonoro, calleofdump 133 use callkeys_mod, only: callrad, callnlte, callnirco2, nircorr 134 use callkeys_mod, only: diurnal, season, iradia, nltemodel 135 use callkeys_mod, only: water, activice, microphys, CLFvarying 136 use callkeys_mod, only: hdo, co2clouds, co2useh2o, meteo_flux 137 use callkeys_mod, only: callsoil, callslope, callcond 138 use callkeys_mod, only: tituscap, surfaceice_tifeedback 139 use callkeys_mod, only: refill_watercap, poreice_tifeedback 140 use callkeys_mod, only: cst_cap_albedo 141 use callkeys_mod, only: rdstorm, dustinjection 142 use callkeys_mod, only: topflows, dustiropacity 143 use callkeys_mod, only: sedimentation, scavenging 144 use callkeys_mod, only: photochem, callthermos 145 use callkeys_mod, only: startphy_file 146 130 147 IMPLICIT NONE 131 148 c======================================================================= … … 229 246 c ------------------ 230 247 231 include "callkeys.h"232 248 include "netcdf.inc" 233 249 -
trunk/LMDZ.MARS/libf/phymars/read_dust_scenario_mod.F90
r2921 r3726 15 15 use planete_h, only: year_day 16 16 USE mod_phys_lmdz_transfert_para, ONLY: bcast 17 use callkeys_mod, only: iaervar, dustinjection, swrtype 18 17 19 implicit none 18 19 include "callkeys.h"20 20 21 21 integer, intent(in) :: ngrid,nlayer … … 66 66 radeg=180/pi 67 67 68 ! assimilated dust file: (NB: iaervar is a common in "callkeys.h")69 68 ! iaervar=4 means read dust_tes.nc file 70 69 ! iaervar=6 means read dust_cold.nc file … … 386 385 endif 387 386 388 if (swrtype.eq.1) then ! Fouquart (NB: swrtype is set in callkeys .h)387 if (swrtype.eq.1) then ! Fouquart (NB: swrtype is set in callkeys_mod) 389 388 ! when using old radiative transfer (like in MCD 4.x) 390 389 ! needed to decrease opacity (*0.825) to compensate overestimation of -
trunk/LMDZ.MARS/libf/phymars/rocketduststorm_mod.F90
r2963 r3726 45 45 USE callradite_mod, only: callradite 46 46 use write_output_mod, only: write_output 47 use callkeys_mod, only: coeff_detrainment 47 48 IMPLICIT NONE 48 49 include "callkeys.h"50 49 51 50 !-------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/simpleclouds.F
r2378 r3726 3 3 & pq,pdq,pdqcloud,pdtcloud, 4 4 & nq,tau,rice) 5 USE updaterad 5 USE updaterad, ONLY: updaterice_typ 6 6 USE watersat_mod, ONLY: watersat 7 7 use tracer_mod, only: igcm_h2o_vap, igcm_h2o_ice, 8 8 & igcm_hdo_vap, igcm_hdo_ice, 9 9 & qperemin 10 USE comcstfi_h10 use comcstfi_h, only: cpp 11 11 use dimradmars_mod, only: naerkind 12 use callkeys_mod, only: hdo, hdofrac 12 13 13 14 implicit none … … 34 35 c simpleclouds.F, and corrected calculations 35 36 c of the typical CCN profile, Oct. 2011) 36 c------------------------------------------------------------------37 #include "callkeys.h"38 39 37 c------------------------------------------------------------------ 40 38 c Arguments: … … 233 231 c endif !hdo 234 232 c------------------------------------------------------------------ 235 return236 233 end -
trunk/LMDZ.MARS/libf/phymars/soil.F
r3230 r3726 9 9 use surfdat_h, only: watercaptag, inert_h2o_ice 10 10 use comslope_mod, ONLY: nslope 11 use callkeys_mod, only: surfaceice_tifeedback, poreice_tifeedback 11 12 implicit none 12 13 … … 19 20 ! heat capacity are commons in comsoil_h 20 21 !----------------------------------------------------------------------- 21 22 #include "callkeys.h"23 22 24 23 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/soilwater.F90
r3568 r3726 6 6 use comsoil_h, only: igcm_h2o_vap_soil, igcm_h2o_ice_soil, igcm_h2o_vap_ads, layer, mlayer, choice_ads, porosity_reg, & 7 7 ads_const_D, ads_massive_ice 8 use comcstfi_h 9 use tracer_mod 8 use comcstfi_h, only: pi, r 9 use tracer_mod, only: igcm_h2o_vap 10 10 use surfdat_h, only: watercaptag ! use mis par AP15 essai 11 11 use geometry_mod, only: cell_area, latitude_deg … … 46 46 ! 47 47 ! ================================================================================================= = 48 49 ! Libraries :50 ! =========== =51 !#include "dimensions.h"52 !#include "dimphys.h"53 !#include "comsoil.h"54 #include "callkeys.h"55 !#include "comcstfi.h"56 !#include "tracer.h"57 !#include "watercap.h"58 59 48 60 49 ! Arguments : … … 1636 1625 !endif 1637 1626 endif 1638 RETURN 1627 1639 1628 END 1640 1629 -
trunk/LMDZ.MARS/libf/phymars/suaer.F90
r2584 r3726 14 14 use datafile_mod, only: datadir 15 15 USE mod_phys_lmdz_transfert_para, ONLY: bcast 16 use callkeys_mod, only: dustrefir 17 16 18 IMPLICIT NONE 17 19 !================================================================== … … 43 45 ! 44 46 !================================================================== 45 46 ! Includes:47 48 include "callkeys.h"49 47 50 48 ! Optical properties (read in external ASCII files) -
trunk/LMDZ.MARS/libf/phymars/surfini_mod.F90
r3142 r3726 24 24 use mod_grid_phy_lmdz, only: nbp_lon, nbp_lat 25 25 use datafile_mod, only: datadir 26 use callkeys_mod, only: water 26 27 27 28 IMPLICIT NONE … … 34 35 ! Declarations: 35 36 ! ------------- 36 include "callkeys.h"37 37 38 38 integer,intent(in) :: ngrid ! number of atmospheric columns -
trunk/LMDZ.MARS/libf/phymars/swmain_mod.F
r2311 r3726 14 14 & nsun,naerkind 15 15 use yomlw_h, only: nlaylte, gcp 16 use callkeys_mod, only: swrtype 16 17 IMPLICIT NONE 17 18 18 c DECLARATIONS19 c -------------20 include "callkeys.h"21 19 c 22 20 c PURPOSE. … … 146 144 DO INU = 1,2 147 145 148 ! NB: swrtype is set in callkeys .h146 ! NB: swrtype is set in callkeys_mod 149 147 if (swrtype.eq.1) then ! Fouquart 150 148 CALL SWR_FOUQUART( KDLON, kflev, INU -
trunk/LMDZ.MARS/libf/phymars/swr_fouquart.F
r1266 r3726 7 7 & ndlon, nflev, naerkind 8 8 use yomlw_h, only: nlaylte 9 use callkeys_mod, only: rayleigh 9 10 IMPLICIT NONE 10 11 C 11 #include "callkeys.h"12 13 12 C 14 13 C SWR - Continuum scattering computations -
trunk/LMDZ.MARS/libf/phymars/swr_toon.F
r1266 r3726 7 7 & ndlon, naerkind 8 8 use yomlw_h, only: nlaylte 9 use callkeys_mod, only: rayleigh 9 10 10 11 IMPLICIT NONE 11 12 C 12 #include "callkeys.h"13 14 13 C 15 14 C SWR - Continuum scattering computations -
trunk/LMDZ.MARS/libf/phymars/updatereffrad_mod.F
r2660 r3726 29 29 & iaer_stormdust_doubleq,iaer_topdust_doubleq 30 30 use dust_param_mod, only: doubleq, active 31 use callkeys_mod, only: water, activice, microphys 32 use callkeys_mod, only: rdstorm, topflows 33 use callkeys_mod, only: co2clouds, activeco2ice, co2useh2o 31 34 IMPLICIT NONE 32 35 c======================================================================= … … 51 54 c ------------- 52 55 c 53 include "callkeys.h"54 56 55 57 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/vdif_cd_mod.F90
r3333 r3726 18 18 SUBROUTINE vdif_cd(ngrid,nlay,nslope,pz0,pg,pz,pp,pu,pv,wstar,pts,ph,mumean,pqvap,pqsurf,write_outputs,pcdv,pcdh) 19 19 20 use comcstfi_h21 20 use turb_mod, only: turb_resolved 22 21 use watersat_mod, only: watersat … … 25 24 use write_output_mod, only: write_output 26 25 use comslope_mod, ONLY: iflat 26 use callkeys_mod, only: callrichsl, callatke 27 27 IMPLICIT NONE 28 include "callkeys.h"29 30 28 31 29 !======================================================================= -
trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
r3619 r3726 40 40 use lmdz_call_atke, only: call_atke 41 41 use dust_windstress_lift_mod, only: dust_windstress_lift 42 use callkeys_mod, only: callcond, callrichsl, callyamada4, 43 & callatke, tke_heat_flux, water, hdo, 44 & co2clouds, rdstorm, dustinjection, 45 & latentheat_surfwater 42 46 IMPLICIT NONE 43 47 … … 61 65 c declarations: 62 66 c ------------- 63 64 include "callkeys.h"65 67 66 68 c -
trunk/LMDZ.MARS/libf/phymars/watercloud_mod.F
r2984 r3726 29 29 use conc_mod, only: mmean 30 30 use write_output_mod, only: write_output 31 use callkeys_mod, only: activice, microphys, supersat, hdo 32 use callkeys_mod, only: scavenging, CLFvarying 31 33 IMPLICIT NONE 32 34 … … 54 56 c declarations: 55 57 c ------------- 56 57 include "callkeys.h"58 58 59 59 c Inputs/outputs: -
trunk/LMDZ.MARS/libf/phymars/waterice_tifeedback_mod.F90
r3262 r3726 28 28 use comsoil_h, only: layer, inertiedat, porosity_reg 29 29 use surfdat_h, only: watercaptag, inert_h2o_ice 30 use callkeys_mod, only: poreice_tifeedback, surfaceice_tifeedback 30 31 IMPLICIT NONE 31 include "callkeys.h" 32 32 33 !======================================================================= 33 34 ! Description : -
trunk/LMDZ.MARS/libf/phymars/yamada4.F
r2823 r3726 612 612 ! print*,'OKFIN' 613 613 first=.false. 614 return 614 615 615 end 616 616 SUBROUTINE vdif_q2(timestep,gravity,rconst,ngrid,nlay 617 617 & ,plev,temp,kmy,q2) 618 !....................................................................... 618 619 IMPLICIT NONE 619 !.......................................................................620 ! MARS621 include "callkeys.h"622 620 !....................................................................... 623 621 ! … … 694 692 SUBROUTINE vdif_q2e(timestep,gravity,rconst,ngrid,nlay, 695 693 & plev,temp,kmy,q2) 694 !....................................................................... 696 695 IMPLICIT NONE 697 !.......................................................................698 ! MARS699 include "callkeys.h"700 696 !....................................................................... 701 697 ! … … 753 749 enddo 754 750 755 return 751 756 752 end
Note: See TracChangeset
for help on using the changeset viewer.