Changeset 2578 for trunk/LMDZ.MARS/libf
- Timestamp:
- Oct 29, 2021, 1:00:06 PM (4 years ago)
- Location:
- trunk/LMDZ.MARS/libf
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/aeronomars/calchim_mod.F90
r2563 r2578 6 6 REAL,SAVE,ALLOCATABLE :: zdqchim(:,:,:) ! Tendancy on pq due to photochemistry 7 7 REAL,SAVE,ALLOCATABLE :: zdqschim(:,:) ! Tendancy on qsurf due to photochemistry 8 9 !$OMP THREADPRIVATE(ichemistry,zdqchim,zdqschim) 8 10 9 11 CONTAINS -
trunk/LMDZ.MARS/libf/phymars/comgeomfi_h.F90
r1952 r2578 8 8 REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: sinlat 9 9 REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: coslat 10 11 !$OMP THREADPRIVATE(sinlon,coslon,sinlat,coslat) 10 12 11 13 contains -
trunk/LMDZ.MARS/libf/phymars/comsaison_h.F90
r1974 r2578 10 10 real,save,allocatable :: fract(:) 11 11 real,save,allocatable :: local_time(:) ! local solar time as fraction of day (0,1) 12 13 !$OMP THREADPRIVATE(callsais,isaison,dist_sol,declin,mu0,fract,local_time) 12 14 13 15 contains -
trunk/LMDZ.MARS/libf/phymars/comsoil_h.F90
r1770 r2578 14 14 ! soil_settings.F) 15 15 16 !$OMP THREADPRIVATE(layer,mlayer,inertiedat) 17 16 18 ! variables (FC: built in firstcall in soil.F) 17 19 REAL,SAVE,ALLOCATABLE :: tsoil(:,:) ! sub-surface temperatures (K) … … 23 25 real,save,allocatable :: beta(:,:) ! beta_k coefficients 24 26 real,save :: mu 27 28 !$OMP THREADPRIVATE(tsoil,mthermdiff,thermdiff,coefq,coefd,alph,beta,mu ) 25 29 26 30 contains -
trunk/LMDZ.MARS/libf/phymars/conc_mod.F90
r1770 r2578 7 7 real,save,allocatable :: cpnew(:,:) ! specicic heat 8 8 real,save,allocatable :: rnew(:,:) ! specific gas constant 9 10 !$OMP THREADPRIVATE(mmean,Akknew,cpnew,rnew) 9 11 10 12 contains -
trunk/LMDZ.MARS/libf/phymars/dimradmars_mod.F90
r2448 r2578 13 13 integer,save :: NDLO2 !=NDLON 14 14 15 !$OMP THREADPRIVATE(NFLEV,ndomainsz,NDLON,NDLO2) 15 16 16 17 ! Number of kind of tracer radiative properties … … 24 25 ! AS: previously in aerkind.h 25 26 character*20, SAVE, ALLOCATABLE :: name_iaer(:) ! name of the scatterers 27 28 !$OMP THREADPRIVATE(naerkind,name_iaer) 29 26 30 integer iaer_dust_conrath ! Typical dust profiles using a 27 31 ! Conrath type analytical equation … … 44 48 INTEGER,SAVE,ALLOCATABLE :: iaerdust(:) 45 49 50 !$OMP THREADPRIVATE(iaerdust) 51 46 52 ! AS: was in suaer 47 53 CHARACTER(LEN=30), SAVE, ALLOCATABLE :: file_id(:,:) 54 55 !$OMP THREADPRIVATE(file_id) 48 56 49 57 ! Reference wavelengths used to compute reference optical depth (m) 50 58 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 59 REAL,SAVE,ALLOCATABLE :: longrefir(:),longrefvis(:) 60 !$OMP THREADPRIVATE(longrefir,longrefvis) 52 61 53 62 ! Definition of spectral intervals at thermal infrared wavelengths (LW) … … 73 82 real,save :: sunfr(2) = (/ 0.274490 , 0.725509 /) 74 83 84 !$OMP THREADPRIVATE(sunfr) 85 75 86 ! Maximum number of grain size classes 76 87 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 111 122 REAL,SAVE,ALLOCATABLE :: nueffdust(:,:) ! Dust effective variance 112 123 124 !$OMP THREADPRIVATE(dtrad,fluxrad_sky,fluxrad,albedo,totcloudfrac,aerosol, & 125 !$OMP nueffdust) 126 113 127 !! ------------------------------------------------------ 114 128 !! AS: what was previously in yomaer … … 139 153 real,save,allocatable :: omegaIR(:,:,:) 140 154 real,save,allocatable :: gIR(:,:,:) 155 156 !$OMP THREADPRIVATE(tauvis,QVISsQREF,omegavis,gvis,QIRsQREF,omegaIR,gIR) 157 141 158 ! Actual number of grain size classes in each domain for a 142 159 ! given aerosol: … … 152 169 real,save,allocatable :: omegaREFvis(:,:) 153 170 real,save,allocatable :: omegaREFir(:,:) 171 172 !$OMP THREADPRIVATE(nsize,radiustab,QREFvis,QREFir,omegaREFvis,omegaREFir) 173 154 174 !! ------------------------------------------------------ 155 175 -
trunk/LMDZ.MARS/libf/phymars/dust_param_mod.F90
r2417 r2578 8 8 LOGICAL,SAVE :: freedust ! if true: no rescaling (via tauscaling) of the dust mass and number 9 9 LOGICAL,SAVE :: callddevil ! flag to activate dust devil (dust lifing/injection) parametrization 10 11 !$OMP THREADPRIVATE(active, doubleq,submicron,lifting,freedust, & 12 !$OMP callddevil) 10 13 11 14 INTEGER,SAVE :: dustbin ! number of bins of dust tracers 15 16 !$OMP THREADPRIVATE(dustbin) 12 17 13 18 REAL,PARAMETER :: odpref = 610. ! Reference pressure (Pa) of … … 22 27 REAL,PARAMETER :: t_scenario_sol=14/24. ! time of day (sol) at which 23 28 ! tau_pref_scenario is deemed exact 29 30 !$OMP THREADPRIVATE(tauscaling, dustscaling_mode,dust_rad_adjust) 24 31 25 32 contains -
trunk/LMDZ.MARS/libf/phymars/nonoro_gwd_ran_mod.F90
r2400 r2578 7 7 REAL,ALLOCATABLE,SAVE :: east_gwstress(:,:) ! Profile of eastward stress 8 8 REAL,ALLOCATABLE,SAVE :: west_gwstress(:,:) ! Profile of westward stress 9 10 !$OMP THREADPRIVATE(du_nonoro_gwd,dv_nonoro_gwd,east_gwstress,west_gwstress) 9 11 10 12 CONTAINS -
trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90
r2562 r2578 3 3 implicit none 4 4 real,save :: tab_cntrl_mod(100) 5 6 !$OMP THREADPRIVATE(tab_cntrl_mod) 5 7 6 8 contains -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2573 r2578 246 246 INTEGER,SAVE :: day_ini ! Initial date of the run (sol since Ls=0) 247 247 INTEGER,SAVE :: icount ! counter of calls to physiq during the run. 248 REAL,SAVE :: time_phys 249 250 !$OMP THREADPRIVATE(day_ini,icount,time_phys) 248 251 249 252 #ifdef DUSTSTORM … … 447 450 REAL satuco2(ngrid,nlayer) ! co2 satu ratio for output 448 451 REAL zqsatco2(ngrid,nlayer) ! saturation co2 449 REAL,SAVE :: time_phys 452 450 453 451 454 ! Added for new NLTE scheme -
trunk/LMDZ.MARS/libf/phymars/slope_mod.F90
r1770 r2578 5 5 real,save,allocatable :: theta_sl(:) ! slope angle versus horizontal (deg) 6 6 real,save,allocatable :: psi_sl(:) ! slope orientation (deg) 7 8 !$OMP THREADPRIVATE(theta_sl,psi_sl) 7 9 8 10 contains -
trunk/LMDZ.MARS/libf/phymars/surfdat_h.F90
r2561 r2578 10 10 logical,save,allocatable :: watercaptag(:) ! flag for water ice surface 11 11 real, save, allocatable :: dryness(:) 12 13 !$OMP THREADPRIVATE(albedodat, phisfi,albedice,emisice,emissiv,TESicealbedo, & 14 !$OMP watercaptag,dryness) 12 15 13 16 logical,save :: temptag !temp tag for water caps 17 18 !$OMP THREADPRIVATE(temptag) 14 19 15 20 real,save :: albedo_h2o_cap ! water cap albedo … … 26 31 real,save :: z0_default ! default (constant over planet) surface roughness (m) 27 32 33 !$OMP THREADPRIVATE(albedo_h2o_cap,albedo_h2o_frost,inert_h2o_ice, & 34 !$OMP frost_albedo_threshold,frost_metam_threshold,TESice_Ncoef, & 35 !$OMP TESice_Scoef,iceradius,dtemisice, & 36 !$OMP zmea,zstd,zsig,zgam,zthe,hmons,summit,base,z0,z0_default ) 37 28 38 !! variables 29 39 REAL,SAVE,ALLOCATABLE :: tsurf(:) ! Surface temperature (K) … … 34 44 REAL,ALLOCATABLE,SAVE :: qsurf(:,:) ! tracer on surface (e.g. kg.m-2) 35 45 REAL,SAVE,ALLOCATABLE :: watercap(:) ! Surface water ice (kg.m-2) 46 47 !$OMP THREADPRIVATE(tsurf,co2ice,emis,capcal,fluxgrd,qsurf,watercap) 36 48 37 49 contains -
trunk/LMDZ.MARS/libf/phymars/tracer_mod.F90
r2562 r2578 5 5 ! number of tracers: 6 6 integer,save :: nqmx ! initialized in conf_phys 7 8 !$OMP THREADPRIVATE(nqmx) 7 9 8 10 character*30,allocatable,save :: noms(:) ! name of the tracer … … 12 14 real,allocatable,save :: alpha_lift(:) ! saltation vertical flux/horiz flux ratio (m-1) 13 15 real,allocatable,save :: alpha_devil(:) ! lifting coeeficient by dust devil 16 17 !$OMP THREADPRIVATE(noms,mmol,radius,rho_q,alpha_lift, & 18 !$OMP alpha_devil) 14 19 15 20 real,save :: varian ! Characteristic variance of log-normal distribution … … 23 28 real,save :: nuiceco2_sed ! Sedimentation effective variance of the co2 ice dist. 24 29 real,save :: nuiceco2_ref ! Effective variance of the co2 ice dist. 30 31 !$OMP THREADPRIVATE(varian,r3n_q,rho_dust,rho_ice,nuice_ref, & 32 !$OMP nuice_sed,ref_r0,rho_ice_co2,nuiceco2_sed,nuiceco2_ref) 25 33 26 34 real,save :: ccn_factor ! ratio of nuclei for water ice particles 35 36 !$OMP THREADPRIVATE(ccn_factor) 27 37 28 38 INTEGER,ALLOCATABLE,SAVE :: nqdust(:) ! to store the indexes of dust tracers (cf aeropacity) 29 39 real,allocatable,save :: dryness(:)!"Dryness coefficient" for grnd water ice sublimation 40 41 !$OMP THREADPRIVATE(nqdust,dryness) 30 42 31 43 … … 47 59 integer,save :: igcm_topdust_number ! topdust number mixing ratio 48 60 61 !$OMP THREADPRIVATE(igcm_dustbin,igcm_dust_mass,igcm_dust_number,igcm_ccn_mass, & 62 !$OMP igcm_ccn_number,igcm_dust_submicron,igcm_stormdust_mass, & 63 !$OMP igcm_stormdust_number,igcm_topdust_mass,igcm_topdust_number) 64 49 65 integer,save :: igcm_ccnco2_mass ! CCN (dust and/or water ice) for CO2 mass mixing ratio 50 66 integer,save :: igcm_ccnco2_number ! CCN (dust and/or water ice) for CO2 number mixing ratio … … 52 68 integer,save :: igcm_ccnco2_h2o_mass_ccn ! CCN (dust and/or water ice) for CO2 mass mixing ratio 53 69 integer,save :: igcm_ccnco2_h2o_number ! CCN (dust and/or water ice) for CO2 number mixing ratio 70 71 !$OMP THREADPRIVATE(igcm_ccnco2_mass,igcm_ccnco2_number, & 72 !$OMP igcm_ccnco2_h2o_mass_ice,igcm_ccnco2_h2o_mass_ccn, & 73 !$OMP igcm_ccnco2_h2o_number) 54 74 55 75 ! water … … 59 79 integer,save :: igcm_hdo_ice ! hdo ice 60 80 integer,save :: igcm_co2_ice ! co2 ice 81 82 !$OMP THREADPRIVATE(igcm_h2o_vap, igcm_h2o_ice, igcm_hdo_vap, igcm_hdo_ice, & 83 !$OMP igcm_co2_ice) 61 84 62 85 ! chemistry: … … 80 103 integer,save :: igcm_he 81 104 integer,save :: igcm_ch4 105 106 !$OMP THREADPRIVATE(igcm_co2,igcm_co,igcm_o,igcm_o1d,igcm_o2,igcm_o3,igcm_h, & 107 !$OMP igcm_h2,igcm_oh,igcm_ho2,igcm_h2o2,igcm_n2,igcm_ar,igcm_n,& 108 !$OMP igcm_no,igcm_no2,igcm_n2d,igcm_he,igcm_ch4) 109 82 110 !Deuterated species derived from HDO 83 111 integer,save :: igcm_od … … 86 114 integer,save :: igcm_do2 87 115 integer,save :: igcm_hdo2 116 117 !$OMP THREADPRIVATE(igcm_od,igcm_d,igcm_hd, igcm_do2,igcm_hdo2) 118 88 119 ! Ions 89 120 integer,save :: igcm_co2plus … … 102 133 integer,save :: igcm_ohplus 103 134 integer,save :: igcm_elec 135 136 !$OMP THREADPRIVATE(igcm_co2plus,igcm_oplus,igcm_o2plus,igcm_coplus,igcm_cplus, & 137 !$OMP igcm_nplus,igcm_noplus,igcm_n2plus,igcm_hplus,igcm_hco2plus,& 138 !$OMP igcm_hcoplus,igcm_h2oplus,igcm_h3oplus,igcm_ohplus,igcm_elec) 139 104 140 ! other tracers 105 141 integer,save :: igcm_ar_n2 ! for simulations using co2 +neutral gas … … 107 143 integer, save :: nqperes ! numbers of tracers defined as "peres" 108 144 integer, allocatable, save :: nqfils(:) ! numbers of sons ("fils") of the considered tracer 145 146 !$OMP THREADPRIVATE(igcm_ar_n2,nqperes,nqfils) 147 109 148 real, parameter :: qperemin=1.e-16 ! threschold for the "pere" mixing ratio qpere to calculate Ratio=qfils/qpere 110 149 real, parameter :: masseqmin=1.e-16 ! threschold for the "pere" transporting masse martian case as there are no gran-sons -
trunk/LMDZ.MARS/libf/phymars/turb_mod.F90
r1770 r2578 13 13 ! this is a flag to say 'turbulence is resolved' 14 14 ! mostly for LES use. default is FALSE (for GCM and mesoscale) 15 16 !$OMP THREADPRIVATE(q2, l0,ustar,wstar,tstar,hfmax_th,zmax_th, & 17 !$OMP sensibFlux) 15 18 16 19 contains -
trunk/LMDZ.MARS/libf/phymars/watercloud_mod.F
r2516 r2578 5 5 REAL,SAVE,ALLOCATABLE :: zdqcloud(:,:,:) ! tendencies on pq due to condensation of H2O(kg/kg.s-1) 6 6 REAL,SAVE,ALLOCATABLE :: zdqscloud(:,:) ! tendencies on qsurf (calculated only by calchim but declared here) 7 8 !$OMP THREADPRIVATE(zdqcloud,zdqscloud) 7 9 8 10 CONTAINS -
trunk/LMDZ.MARS/libf/phymars/yomlw_h.F90
r1772 r2578 14 14 real,save :: gcp ! = g/cpp (set in callradite) 15 15 16 !$OMP THREADPRIVATE(at,bt,tref,xp,tstand,ga,gb,cst_voigt,gcp) 17 16 18 ! Number of layers on which LTE calculations (in lw and sw) are performed 17 19 ! (Computed in nlthermeq) : … … 21 23 real,save,allocatable :: xi_ground(:,:) 22 24 real,save,allocatable :: xi_emis(:,:,:) 25 26 !$OMP THREADPRIVATE(nlaylte,xi,xi_ground,xi_emis) 23 27 24 28 contains
Note: See TracChangeset
for help on using the changeset viewer.