Changeset 1226 for trunk/LMDZ.MARS
- Timestamp:
- Apr 15, 2014, 11:46:48 PM (11 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 added
- 2 deleted
- 63 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r1225 r1226 2036 2036 Before, inifis has two very different tasks to do. 2037 2037 3. a bit of cleaning as far as modules and saves are concerned 2038 2039 == 15/04/2014 == AS 2040 Replaced comcstfi and planete includes by modules -
trunk/LMDZ.MARS/libf/aeronomars/calchim.F90
r1125 r1226 15 15 16 16 use conc_mod, only: mmean ! mean molecular mass of the atmosphere 17 USE comcstfi_h 17 18 18 19 implicit none … … 70 71 #include "chimiedata.h" 71 72 !#include "tracer.h" 72 #include "comcstfi.h"73 73 #include "callkeys.h" 74 74 !#include "conc.h" -
trunk/LMDZ.MARS/libf/aeronomars/chemthermos.F90
r1119 r1226 10 10 igcm_n2plus, igcm_hplus, igcm_hco2plus, & 11 11 igcm_elec, igcm_oplus 12 USE comcstfi_h 12 13 IMPLICIT NONE 13 14 !======================================================================= … … 31 32 #include "dimensions.h" 32 33 #include "dimphys.h" 33 #include "comcstfi.h"34 34 #include "callkeys.h" 35 35 !#include "comdiurn.h" -
trunk/LMDZ.MARS/libf/aeronomars/concentrations.F
r1047 r1226 11 11 & igcm_hplus, igcm_hco2plus, mmol 12 12 use conc_mod, only: mmean, Akknew, rnew, cpnew 13 13 USE comcstfi_h 14 14 implicit none 15 15 … … 29 29 !#include "dimensions.h" 30 30 !#include "dimphys.h" 31 #include "comcstfi.h"32 31 #include "callkeys.h" 33 32 !#include "comdiurn.h" -
trunk/LMDZ.MARS/libf/aeronomars/conduction.F
r1047 r1226 19 19 !#include "dimensions.h" 20 20 !#include "dimphys.h" 21 !#include "comcstfi.h"22 21 !#include "surfdat.h" 23 22 !#include "chimiedata.h" -
trunk/LMDZ.MARS/libf/aeronomars/deposition.F
r1047 r1226 14 14 !#include "dimensions.h" 15 15 !#include "dimphys.h" 16 !#include "planete.h"17 16 !#include "chimiedata.h" 18 17 !#include "conc.h" -
trunk/LMDZ.MARS/libf/aeronomars/euvheat.F90
r1119 r1226 33 33 !#include "dimensions.h" 34 34 !#include "dimphys.h" 35 !#include "comcstfi.h"36 35 #include "callkeys.h" 37 36 !#include "comdiurn.h" -
trunk/LMDZ.MARS/libf/aeronomars/moldiff.F
r1047 r1226 8 8 & igcm_h2o_vap, mmol 9 9 use conc_mod, only: rnew, mmean 10 USE comcstfi_h 10 11 implicit none 11 12 12 13 !#include "dimensions.h" 13 14 !#include "dimphys.h" 14 #include "comcstfi.h"15 15 !#include "callkeys.h" 16 16 !#include "comdiurn.h" -
trunk/LMDZ.MARS/libf/aeronomars/moldiff_red.F90
r1047 r1226 3 3 4 4 use tracer_mod, only: noms, mmol 5 USE comcstfi_h 5 6 6 7 implicit none … … 8 9 !#include "dimensions.h" 9 10 !#include "dimphys.h" 10 #include "comcstfi.h"11 11 !#include "callkeys.h" 12 12 !#include "comdiurn.h" -
trunk/LMDZ.MARS/libf/aeronomars/molvis.F
r1047 r1226 22 22 !#include "dimensions.h" 23 23 !#include "dimphys.h" 24 !#include "comcstfi.h"25 24 !#include "surfdat.h" 26 25 !#include "chimiedata.h" -
trunk/LMDZ.MARS/libf/aeronomars/perosat.F
r1047 r1226 5 5 use tracer_mod, only: igcm_h2o2, mmol 6 6 use conc_mod, only: mmean 7 USE comcstfi_h 7 8 IMPLICIT NONE 8 9 … … 26 27 !#include "dimensions.h" 27 28 !#include "dimphys.h" 28 #include "comcstfi.h"29 29 !#include "chimiedata.h" 30 30 !#include "tracer.h" -
trunk/LMDZ.MARS/libf/aeronomars/photochemistry.F
r1125 r1226 787 787 c***************************************************************** 788 788 789 USE comcstfi_h 789 790 implicit none 790 791 … … 792 793 !#include "dimphys.h" 793 794 #include "chimiedata.h" 794 #include "comcstfi.h"795 795 796 796 cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc … … 1362 1362 c***************************************************************** 1363 1363 1364 USE comcstfi_h 1364 1365 implicit none 1365 1366 1366 1367 !#include "dimensions.h" 1367 1368 !#include "dimphys.h" 1368 #include "comcstfi.h"1369 1369 1370 1370 cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc -
trunk/LMDZ.MARS/libf/aeronomars/surfacearea.F
r1047 r1226 8 8 & igcm_ccn_number, varian, ccn_factor 9 9 use conc_mod, only: rnew 10 USE comcstfi_h 10 11 implicit none 11 12 … … 20 21 #include "dimensions.h" 21 22 !#include "dimphys.h" 22 #include "comcstfi.h"23 23 #include "callkeys.h" 24 24 !#include "tracer.h" -
trunk/LMDZ.MARS/libf/aeronomars/thermosphere.F
r1047 r1226 6 6 7 7 use conc_mod, only: rnew, cpnew 8 USE comcstfi_h 8 9 implicit none 9 10 10 11 !#include "dimensions.h" 11 12 !#include "dimphys.h" 12 #include "comcstfi.h"13 13 #include "callkeys.h" 14 14 !#include "comdiurn.h" -
trunk/LMDZ.MARS/libf/phymars/aeropacity.F
r1224 r1226 10 10 use comgeomfi_h, only: lati, sinlat ! grid point latitudes (rad) 11 11 use yomaer_h, only: tauvis 12 use planete_h 13 USE comcstfi_h 12 14 IMPLICIT NONE 13 15 c======================================================================= … … 54 56 !#include "dimphys.h" 55 57 #include "callkeys.h" 56 #include "comcstfi.h"57 58 !#include "comgeomfi.h" 58 59 !#include "dimradmars.h" … … 61 62 ! naerkind is set in scatterers.h (built when compiling with makegcm -s #) 62 63 #include"scatterers.h" 63 #include "planete.h"64 64 #include "aerkind.h" 65 65 -
trunk/LMDZ.MARS/libf/phymars/callradite.F
r1047 r1226 7 7 use dimradmars_mod, only: ndomainsz, nflev, nsun, nir 8 8 use yomlw_h, only: gcp, nlaylte 9 USE comcstfi_h 9 10 IMPLICIT NONE 10 11 c======================================================================= … … 150 151 !#include "dimphys.h" 151 152 !#include "dimradmars.h" 152 #include "comcstfi.h"153 153 #include "callkeys.h" 154 154 !#include "yomlw.h" -
trunk/LMDZ.MARS/libf/phymars/callsedim.F
r1047 r1226 11 11 & igcm_ccn_mass, igcm_ccn_number, 12 12 & igcm_h2o_ice, nuice_sed, nuice_ref 13 USE comcstfi_h 13 14 IMPLICIT NONE 14 15 … … 31 32 !#include "dimensions.h" 32 33 !#include "dimphys.h" 33 #include "comcstfi.h"34 34 !#include "tracer.h" 35 35 #include "callkeys.h" -
trunk/LMDZ.MARS/libf/phymars/calltherm_interface.F90
r1212 r1226 46 46 use comtherm_h 47 47 use tracer_mod, only: nqmx,noms 48 49 ! SHARED VARIABLES. This needs adaptations in another climate model. 50 ! contains physical constant values such as 51 ! "g" : gravitational acceleration (m.s-2) 52 ! "r" : recuced gas constant (J.K-1.mol-1) 53 ! "cpp" : specific heat of the atmosphere (J.kg-1.K-1) 54 USE comcstfi_h 55 48 56 implicit none 49 50 ! SHARED VARIABLES. This needs adaptations in another climate model.51 #include "comcstfi.h" !contains physical constant values such as52 ! "g" : gravitational acceleration (m.s-2)53 ! "r" : recuced gas constant (J.K-1.mol-1)54 ! "cpp" : specific heat of the atmosphere (J.kg-1.K-1)55 57 56 58 !-------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/co2snow.F
r1130 r1226 4 4 use surfdat_h, only: iceradius, dtemisice 5 5 use comgeomfi_h, only: lati ! grid point latitudes (rad) 6 USE comcstfi_h 6 7 IMPLICIT NONE 7 8 … … 18 19 #include "dimensions.h" 19 20 #include "dimphys.h" 20 #include "comcstfi.h"21 21 !#include "surfdat.h" 22 22 #include "callkeys.h" -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r1224 r1226 1 SUBROUTINE conf_phys( 2 $ nq 3 $ ,day_ini,pdaysec,ptimestep 4 $ ,prad,pg,pr,pcpp 5 #ifdef MESOSCALE 6 #include "meso_inc/meso_inc_inifisinvar.F" 7 #endif 8 $ ) 9 ! 1 SUBROUTINE conf_phys(nq) 2 10 3 !======================================================================= 11 4 ! … … 45 38 ! to use 'getin' 46 39 USE ioipsl_getincom, only : getin 47 use tracer_mod, only : n qmx, nuice_sed, ccn_factor40 use tracer_mod, only : nuice_sed, ccn_factor 48 41 use surfdat_h, only: albedo_h2o_ice, inert_h2o_ice, 49 42 & frost_albedo_threshold 50 43 use yomaer_h,only: tauvis 51 44 use control_mod, only: ecritphy 52 53 #ifdef MESOSCALE 54 !! see meso_inc_inifisini.F 55 use surfdat_h, only: emissiv,albedice,iceradius, 56 & emisice,dtemisice, 57 & z0_default,z0, 58 & albedodat,phisfi, 59 & zmea,zstd,zsig,zgam,zthe 60 use slope_mod, only: theta_sl,psi_sl 61 use comsoil_h, only: volcapa !!MESOSCALE -- needed to fill volcapa 62 #endif 45 use planete_h 46 USE comcstfi_h, only: daysec,dtphys 63 47 64 48 IMPLICIT NONE 65 49 #include "dimensions.h" 66 50 #include "dimphys.h" 67 #include "planete.h"68 #include "comcstfi.h"69 51 !#include "comsaison.h" 70 52 !#include "comdiurn.h" … … 81 63 #include"scatterers.h" 82 64 83 #ifdef MESOSCALE 84 #include "meso_inc/meso_inc_inifisvar.F" 85 #endif 86 REAL,INTENT(IN) :: prad,pg,pr,pcpp,pdaysec 87 88 REAL,INTENT(IN) :: ptimestep 89 INTEGER,INTENT(IN) :: nq,day_ini 65 INTEGER,INTENT(IN) :: nq 90 66 INTEGER ig,ierr 91 67 92 68 CHARACTER ch1*12 93 69 CHARACTER ch80*80 94 95 ! logical chem, h2o96 97 ! chem = .false.98 ! h2o = .false.99 100 101 pi=2.*asin(1.) ! NB: pi is a common in comcstfi.h102 103 rad=prad104 cpp=pcpp105 g=pg106 r=pr107 rcp=r/cpp108 daysec=pdaysec109 dtphys=ptimestep110 111 nqmx=nq112 113 !! MESOSCALE INITIALIZATIONS114 #ifdef MESOSCALE115 #include "meso_inc/meso_inc_inifisini.F"116 #endif117 70 118 71 ! read in 'ecritphy' (frequency of calls to physics, in dynamical steps) -
trunk/LMDZ.MARS/libf/phymars/convadj.F
r1047 r1226 8 8 use tracer_mod, only: noms, ! tracer names 9 9 & igcm_h2o_vap ! index of water vapor tracer 10 USE comcstfi_h 10 11 implicit none 11 12 … … 33 34 !#include "dimensions.h" 34 35 !#include "dimphys.h" 35 #include "comcstfi.h"36 36 #include "callkeys.h" 37 37 !#include "tracer.h" -
trunk/LMDZ.MARS/libf/phymars/drag_noro.F
r1047 r1226 52 52 c 53 53 use dimradmars_mod, only: ndlo2 54 USE comcstfi_h 54 55 IMPLICIT none 55 56 c====================================================================== … … 73 74 !#include "dimphys.h" 74 75 !#include "dimradmars.h" 75 #include "comcstfi.h"76 76 c 77 77 c ARGUMENTS -
trunk/LMDZ.MARS/libf/phymars/dustdevil.F
r1047 r1226 4 4 use tracer_mod, only: alpha_devil 5 5 use surfdat_h, only: z0_default 6 USE comcstfi_h 6 7 IMPLICIT NONE 7 8 … … 31 32 !#include "dimensions.h" 32 33 !#include "dimphys.h" 33 #include "comcstfi.h"34 34 c#include "comconst.h" ! TEMPORAIRE AVEC ANLDEVIL !!!! 35 35 !#include "surfdat.h" -
trunk/LMDZ.MARS/libf/phymars/dustlift.F
r1047 r1226 10 10 & ref_r0,r3n_q 11 11 #endif 12 USE comcstfi_h 12 13 IMPLICIT NONE 13 14 … … 26 27 !#include "dimensions.h" 27 28 !#include "dimphys.h" 28 #include "comcstfi.h"29 29 !#include "tracer.h" 30 30 -
trunk/LMDZ.MARS/libf/phymars/eofdump_mod.F90
r1130 r1226 80 80 81 81 use comgeomfi_h, only: long, lati 82 use comcstfi_h 82 83 implicit none 83 84 ! … … 87 88 !#include "dimphys.h" 88 89 #include "comvert.h" 89 #include "comcstfi.h"90 90 !#include "comgeomfi.h" 91 91 -
trunk/LMDZ.MARS/libf/phymars/getslopes.F90
r1047 r1226 3 3 use comgeomfi_h, only: long, lati 4 4 use slope_mod, only: theta_sl, psi_sl 5 USE comcstfi_h 5 6 implicit none 6 7 … … 9 10 !#include "slope.h" 10 11 !#include "comgeomfi.h" 11 #include "comcstfi.h"12 12 13 13 -
trunk/LMDZ.MARS/libf/phymars/growthrate.F
r1036 r1226 2 2 3 3 use tracer_mod, only: rho_ice 4 USE comcstfi_h 4 5 IMPLICIT NONE 5 6 … … 21 22 #include "dimensions.h" 22 23 #include "dimphys.h" 23 #include "comcstfi.h"24 24 !#include "tracer.h" 25 25 #include "microphys.h" -
trunk/LMDZ.MARS/libf/phymars/improvedclouds.F
r1212 r1226 11 11 & igcm_ccn_number 12 12 use conc_mod, only: mmean 13 USE comcstfi_h 13 14 implicit none 14 15 … … 36 37 !#include "dimensions.h" 37 38 !#include "dimphys.h" 38 #include "comcstfi.h"39 39 #include "callkeys.h" 40 40 !#include "tracer.h" -
trunk/LMDZ.MARS/libf/phymars/iniorbit.F
r38 r1226 1 1 SUBROUTINE iniorbit 2 2 $ (paphelie,pperiheli,pyear_day,pperi_day,pobliq) 3 use planete_h 4 USE comcstfi_h 3 5 IMPLICIT NONE 4 6 … … 34 36 c Declarations: 35 37 c ------------- 36 37 #include "planete.h"38 #include "comcstfi.h"39 38 40 39 c Arguments: -
trunk/LMDZ.MARS/libf/phymars/iniphysiq.F90
r1224 r1226 69 69 ! copy some fundamental parameters to physics 70 70 ! and do some initializations 71 call phys_state_var_init(klon_omp,nlayer,nqtot,rlatd,rlond,airephy) 72 call conf_phys(nqtot,pdayref,punjours,ptimestep,prad,pg,pr,pcpp) 71 call phys_state_var_init(klon_omp,nlayer,nqtot, & 72 rlatd,rlond,airephy, & 73 punjours,ptimestep,prad,pg,pr,pcpp) 74 call conf_phys(nqtot) 73 75 74 76 !$OMP END PARALLEL -
trunk/LMDZ.MARS/libf/phymars/initracer.F
r1224 r1226 5 5 #endif 6 6 use tracer_mod 7 USE comcstfi_h 7 8 IMPLICIT NONE 8 9 c======================================================================= … … 28 29 !#include "dimensions.h" 29 30 !#include "dimphys.h" 30 #include "comcstfi.h"31 31 #include "callkeys.h" 32 32 !#include "tracer.h" -
trunk/LMDZ.MARS/libf/phymars/iniwrite.F
r1047 r1226 2 2 3 3 use comsoil_h, only: mlayer, nsoilmx 4 USE comcstfi_h 4 5 IMPLICIT NONE 5 6 … … 23 24 #include "paramet.h" 24 25 !include "comconst.h" 25 #include "comcstfi.h"26 26 #include "comvert.h" 27 27 #include "comgeom.h" -
trunk/LMDZ.MARS/libf/phymars/iniwritesoil.F90
r1047 r1226 6 6 7 7 use comsoil_h, only: mlayer, inertiedat, nsoilmx 8 USE comcstfi_h 8 9 9 10 implicit none … … 12 13 !#include"dimphys.h" 13 14 #include"paramet.h" 14 #include"comcstfi.h"15 15 #include"comgeom.h" 16 16 !#include"comsoil.h" -
trunk/LMDZ.MARS/libf/phymars/lect_start_archive.F
r1223 r1226 19 19 use infotrac, only: tname 20 20 use comsoil_h, only: nsoilmx, layer, mlayer, volcapa, inertiedat 21 use planete_h 21 22 implicit none 22 23 … … 27 28 !#include "dimradmars.h" 28 29 !#include "yomaer.h" 29 #include "planete.h"30 30 #include "paramet.h" 31 31 #include "comconst.h" -
trunk/LMDZ.MARS/libf/phymars/lwdiff.F
r1047 r1226 7 7 & ndlo2 8 8 use yomlw_h, only: nlaylte 9 USE comcstfi_h 9 10 IMPLICIT NONE 10 11 … … 13 14 !#include "dimradmars.h" 14 15 #include "callkeys.h" 15 #include "comcstfi.h"16 16 17 17 !#include "yomaer.h" -
trunk/LMDZ.MARS/libf/phymars/lwi.F
r1047 r1226 6 6 use dimradmars_mod, only: ndlo2, ndlon, nflev, nir 7 7 use yomlw_h, only: gcp, nlaylte, xi 8 USE comcstfi_h 8 9 implicit none 9 10 … … 14 15 #include "comg1d.h" 15 16 #include "callkeys.h" 16 #include "comcstfi.h"17 17 !#include "yomlw.h" 18 18 -
trunk/LMDZ.MARS/libf/phymars/lwu.F
r1047 r1226 33 33 use dimradmars_mod, only: ndlo2, nir, nuco2, ndlon, nflev 34 34 use yomlw_h, only: nlaylte, tref, at, bt, cst_voigt 35 USE comcstfi_h 35 36 implicit none 36 37 … … 38 39 !#include "dimphys.h" 39 40 !#include "dimradmars.h" 40 #include "comcstfi.h"41 41 42 42 !#include "yomaer.h" -
trunk/LMDZ.MARS/libf/phymars/newcondens.F
r1224 r1226 9 9 use surfdat_h, only: emissiv, phisfi 10 10 use comgeomfi_h, only: lati ! grid point latitudes (rad) 11 use planete_h 12 USE comcstfi_h 11 13 IMPLICIT NONE 12 14 c======================================================================= … … 58 60 #include "dimensions.h" 59 61 !#include "dimphys.h" 60 #include "comcstfi.h"61 62 !#include "surfdat.h" 62 63 !#include "comgeomfi.h" … … 65 66 #include "callkeys.h" 66 67 !#include "tracer.h" 67 #include "planete.h"68 68 69 69 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/newsedim.F
r1047 r1226 1 1 SUBROUTINE newsedim(ngrid,nlay,naersize,nrhosize,ptimestep, 2 2 & pplev,masse,epaisseur,pt,rd,rho,pqi,wq,beta) 3 USE comcstfi_h 3 4 IMPLICIT NONE 4 5 … … 16 17 !#include "dimensions.h" 17 18 !#include "dimphys.h" 18 #include "comcstfi.h" 19 19 20 c 20 21 c arguments: -
trunk/LMDZ.MARS/libf/phymars/newstart.F
r1224 r1226 28 28 use iostart, only: open_startphy 29 29 use comgeomphy, only: initcomgeomphy 30 use planete_h 30 31 implicit none 31 32 … … 37 38 !#include "dimradmars.h" 38 39 !#include "yomaer.h" 39 #include "planete.h"40 40 #include "paramet.h" 41 41 #include "comconst.h" … … 383 383 ! (for instance initracer needs to know about some flags, and/or 384 384 ! 'datafile' path may be changed by user) 385 call phys_state_var_init(ngridmx,llm,nqtot,latfi,lonfi,airefi) 386 call conf_phys(nqtot,day_ini,daysec,dtphys,rad,g,r,cpp) 385 call phys_state_var_init(ngridmx,llm,nqtot, 386 . latfi,lonfi,airefi, 387 . daysec,dtphys,rad,g,r,cpp) 388 call conf_phys(nqtot) 387 389 388 390 c======================================================================= -
trunk/LMDZ.MARS/libf/phymars/nirco2abs.F
r1224 r1226 4 4 use tracer_mod, only: igcm_co2, igcm_o 5 5 use comgeomfi_h, only: sinlon, coslon, sinlat, coslat 6 USE comcstfi_h 6 7 IMPLICIT NONE 7 8 c======================================================================= … … 48 49 !#include "dimensions.h" 49 50 !#include "dimphys.h" 50 #include "comcstfi.h"51 51 #include "callkeys.h" 52 52 !#include "comdiurn.h" -
trunk/LMDZ.MARS/libf/phymars/nlte_tcool.F
r1124 r1226 1360 1360 function hrkday_convert 1361 1361 @ ( mmean_nlte,cpmean_nlte ) 1362 1362 USE comcstfi_h 1363 1363 implicit none 1364 1364 1365 include 'comcstfi.h'1366 1365 include 'param.h' 1367 1366 -
trunk/LMDZ.MARS/libf/phymars/nuclea.F
r1036 r1226 2 2 * * 3 3 subroutine nuclea(ph2o,temp,sat,n_ccn,nucrate) 4 USE comcstfi_h 4 5 implicit none 5 6 * * … … 16 17 #include "dimensions.h" 17 18 #include "dimphys.h" 18 #include "comcstfi.h"19 19 !#include "tracer.h" 20 20 #include "microphys.h" -
trunk/LMDZ.MARS/libf/phymars/orbite.F
r38 r1226 1 1 SUBROUTINE orbite(pls,pdist_sol,pdecli) 2 use planete_h 3 USE comcstfi_h 2 4 IMPLICIT NONE 3 5 … … 32 34 c ------------- 33 35 34 #include "planete.h"35 #include "comcstfi.h"36 37 36 c arguments: 38 37 c ---------- -
trunk/LMDZ.MARS/libf/phymars/orodrag.F
r1047 r1226 72 72 C----------------------------------------------------------------------- 73 73 use dimradmars_mod, only: ndlo2 74 USE comcstfi_h 74 75 implicit none 75 76 C … … 82 83 integer, save :: kfdia ! =NDLO2 83 84 84 #include "comcstfi.h"85 85 #include "yoegwd.h" 86 86 C----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/orosetup.F
r1047 r1226 47 47 C----------------------------------------------------------------------- 48 48 use dimradmars_mod, only: ndlo2 49 USE comcstfi_h 49 50 implicit none 50 51 C … … 55 56 integer klon,klev,kidia,kfdia 56 57 57 #include "comcstfi.h"58 58 #include "yoegwd.h" 59 59 -
trunk/LMDZ.MARS/libf/phymars/pbl_parameters.F
r1212 r1226 2 2 & pg,zzlay,zzlev,pu,pv,wstar_in,hfmax,zmax,pts,ph,z_out,n_out, 3 3 & T_out,u_out,ustar,tstar,L_mo,vhf,vvv) 4 USE comcstfi_h 4 5 IMPLICIT NONE 5 6 !======================================================================= … … 49 50 ! ------------- 50 51 51 #include "comcstfi.h"52 52 #include "callkeys.h" 53 53 -
trunk/LMDZ.MARS/libf/phymars/phyetat0.F90
r1208 r1226 10 10 get_field, get_var, inquire_field, & 11 11 inquire_dimension, inquire_dimension_length 12 use planete_h 13 use comcstfi_h 14 12 15 implicit none 13 16 !====================================================================== … … 26 29 !#include "comgeomfi.h" 27 30 !#include "surfdat.h" 28 #include "planete.h"29 31 !#include "dimradmars.h" 30 32 !#include "yomaer.h" 31 #include "comcstfi.h"32 33 !#include "tracer.h" 33 34 !#include "advtrac.h" -
trunk/LMDZ.MARS/libf/phymars/phyredem.F90
r1221 r1226 22 22 put_var, put_field, length 23 23 use mod_grid_phy_lmdz, only : klon_glo 24 use planete_h 25 use comcstfi_h 24 26 25 27 implicit none 26 #include "planete.h"27 #include "comcstfi.h"28 28 29 29 character(len=*), intent(in) :: filename -
trunk/LMDZ.MARS/libf/phymars/phys_state_var_init.F
r1224 r1226 1 SUBROUTINE phys_state_var_init(ngrid,nlayer,nq,plat,plon,parea) 1 SUBROUTINE phys_state_var_init(ngrid 2 . ,nlayer,nq,plat,plon,parea 3 . ,pdaysec,ptimestep,prad,pg,pr,pcpp) 2 4 3 5 !======================================================================= … … 8 10 ! Allocate arrays in modules 9 11 ! Fill geometrical arrays 12 ! Fill a first set of physical constants 10 13 ! -- was done previously in inifis 11 14 ! … … 30 33 use comsaison_h, only: ini_comsaison_h 31 34 use surfdat_h, only: ini_surfdat_h 32 use comgeomfi_h, only: ini_comgeomfi_h,long,lati,area,totarea,ini_sincosgeom 35 use comgeomfi_h, only: ini_comgeomfi_h 36 . ,long,lati,area,totarea 37 . ,ini_sincosgeom 33 38 use comsoil_h, only: ini_comsoil_h 34 39 use dimradmars_mod, only: ini_dimradmars_mod … … 37 42 use conc_mod, only: ini_conc_mod 38 43 use turb_mod, only: ini_turb_mod 44 use comcstfi_h, only: pi,rad,cpp,g,r,rcp,daysec,dtphys 45 use tracer_mod, only: nqmx 39 46 40 47 IMPLICIT NONE … … 42 49 INTEGER,INTENT(IN) :: ngrid,nlayer,nq 43 50 REAL,INTENT(IN) :: plat(ngrid),plon(ngrid),parea(ngrid) 51 REAL,INTENT(IN) :: pdaysec,ptimestep,prad,pg,pr,pcpp 44 52 EXTERNAL SSUM 45 53 REAL SSUM 54 55 ! set dimension in tracer_mod 56 nqmx=nq 57 58 ! set parameters in comcstfi_h 59 pi=2.*asin(1.) 60 rad=prad 61 cpp=pcpp 62 g=pg 63 r=pr 64 rcp=r/cpp 65 daysec=pdaysec 66 dtphys=ptimestep 46 67 47 68 ! allocate "slope_mod" arrays -
trunk/LMDZ.MARS/libf/phymars/physiq.F
r1224 r1226 33 33 & dtrad, fluxrad_sky, fluxrad, albedo 34 34 use turb_mod, only: q2, wstar, hfmax_th 35 use planete_h 36 USE comcstfi_h 35 37 #ifdef MESOSCALE 36 38 use comsoil_h, only: mlayer,layer … … 148 150 !#include "comdiurn.h" 149 151 #include "callkeys.h" 150 #include "comcstfi.h"151 #include "planete.h"152 152 !#include "comsaison.h" 153 153 !#include "control.h" -
trunk/LMDZ.MARS/libf/phymars/simpleclouds.F
r1047 r1226 5 5 USE updaterad 6 6 use tracer_mod, only: igcm_h2o_vap, igcm_h2o_ice 7 USE comcstfi_h 7 8 implicit none 8 9 c------------------------------------------------------------------ … … 31 32 !#include "dimensions.h" 32 33 !#include "dimphys.h" 33 #include "comcstfi.h"34 34 #include "callkeys.h" 35 35 !#include "tracer.h" -
trunk/LMDZ.MARS/libf/phymars/solarlong.F
r608 r1226 1 1 SUBROUTINE solarlong(pday,psollong) 2 use planete_h 3 USE comcstfi_h 2 4 IMPLICIT NONE 3 5 … … 40 42 c Declarations: 41 43 c ------------- 42 43 #include "planete.h"44 #include "comcstfi.h"45 44 46 45 c arguments: -
trunk/LMDZ.MARS/libf/phymars/surfini.F
r1224 r1226 12 12 use mod_phys_lmdz_para, only : is_master, gather, scatter 13 13 #endif 14 USE comcstfi_h 14 15 IMPLICIT NONE 15 16 c======================================================================= … … 27 28 !#include "tracer.h" 28 29 !#include "comgeomfi.h" 29 #include "comcstfi.h"30 30 31 31 #include "datafile.h" -
trunk/LMDZ.MARS/libf/phymars/swrayleigh.F
r38 r1226 1 1 SUBROUTINE swrayleigh(kdlon,knu,ppsol,prmu,prayl) 2 2 USE comcstfi_h 3 3 IMPLICIT NONE 4 4 c======================================================================= … … 23 23 c 24 24 c======================================================================= 25 #include "comcstfi.h"26 25 27 26 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/tabfi.F
r1130 r1226 50 50 use iostart, only: get_var 51 51 use mod_phys_lmdz_para, only: is_parallel 52 use comcstfi_h 53 use planete_h 52 54 implicit none 53 55 54 56 !#include "dimensions.h" 55 57 !#include "dimphys.h" 56 #include "comcstfi.h"57 58 !#include "comgeomfi.h" 58 #include "planete.h"59 59 !#include "surfdat.h" 60 60 !#include "comsoil.h" -
trunk/LMDZ.MARS/libf/phymars/testphys1d.F
r1224 r1226 15 15 use phyredem, only: physdem0,physdem1 16 16 use comgeomphy, only: initcomgeomphy 17 use planete_h 18 use comcstfi_h 17 19 IMPLICIT NONE 18 20 … … 46 48 !#include "comdiurn.h" 47 49 #include "callkeys.h" 48 #include "comcstfi.h"49 #include "planete.h"50 50 !#include "comsaison.h" 51 51 !#include "yomaer.h" … … 476 476 ! and allocates some arrays 477 477 !Mars possible matter with dtphys in input and include!!! 478 call phys_state_var_init(1,llm,nq,latitude,longitude,1.0) 479 call conf_phys(nq,day0,daysec,dtphys,rad,g,r,cpp) 478 call phys_state_var_init(1,llm,nq, 479 . latitude,longitude,1.0, 480 . daysec,dtphys,rad,g,r,cpp) 481 call conf_phys(nq) 480 482 481 483 -
trunk/LMDZ.MARS/libf/phymars/thermcell_main_mars.F90
r1212 r1226 46 46 use planetwide_mod, only: planetwide_maxval 47 47 #endif 48 ! SHARED VARIABLES. This needs adaptations in another climate model. 49 ! contains physical constant values such as 50 ! "g" : gravitational acceleration (m.s-2) 51 ! "r" : recuced gas constant (J.K-1.mol-1) 52 USE comcstfi_h 48 53 49 54 IMPLICIT NONE 50 55 51 56 !======================================================================= 52 53 ! SHARED VARIABLES. This needs adaptations in another climate model.54 #include "comcstfi.h" !contains physical constant values such as55 ! "g" : gravitational acceleration (m.s-2)56 ! "r" : recuced gas constant (J.K-1.mol-1)57 57 58 58 ! ============== INPUTS ============== -
trunk/LMDZ.MARS/libf/phymars/updaterad.F90
r1036 r1226 63 63 subroutine updaterice_micro(qice,qccn,nccn,coeff,rice,rhocloud) 64 64 use tracer_mod, only: rho_dust, rho_ice 65 implicit none 66 67 #include "dimensions.h" 68 #include "dim phys.h"69 #include " comcstfi.h"65 USE comcstfi_h 66 implicit none 67 68 #include "dimensions.h" 69 #include "dimphys.h" 70 70 !#include "tracer.h" 71 71 … … 120 120 subroutine updaterice_typ(qice,tau,pzlay,rice) 121 121 use tracer_mod, only: rho_ice 122 implicit none 123 124 #include "dimensions.h" 125 #include "dim phys.h"126 #include " comcstfi.h"122 USE comcstfi_h 123 implicit none 124 125 #include "dimensions.h" 126 #include "dimphys.h" 127 127 !#include "tracer.h" 128 128 … … 178 178 subroutine updaterdust(qdust,ndust,rdust,tauscaling) 179 179 use tracer_mod, only: r3n_q 180 implicit none 181 182 #include "dimensions.h" 183 #include "dim phys.h"184 #include " comcstfi.h"180 USE comcstfi_h 181 implicit none 182 183 #include "dimensions.h" 184 #include "dimphys.h" 185 185 !#include "tracer.h" 186 186 … … 234 234 subroutine updaterccn(qccn,nccn,rccn,tauscaling) 235 235 use tracer_mod, only: rho_dust 236 implicit none 237 238 #include "dimensions.h" 239 #include "dim phys.h"240 #include " comcstfi.h"236 USE comcstfi_h 237 implicit none 238 239 #include "dimensions.h" 240 #include "dimphys.h" 241 241 !#include "tracer.h" 242 242 -
trunk/LMDZ.MARS/libf/phymars/updatereffrad.F
r1224 r1226 9 9 & ref_r0, igcm_dust_submicron 10 10 USE dimradmars_mod, only: nueffdust 11 USE comcstfi_h 11 12 IMPLICIT NONE 12 13 c======================================================================= … … 33 34 !#include "dimensions.h" 34 35 !#include "dimphys.h" 35 #include "comcstfi.h"36 36 #include "callkeys.h" 37 37 !#include "dimradmars.h" -
trunk/LMDZ.MARS/libf/phymars/vdif_cd.F
r765 r1226 5 5 #endif 6 6 & ) 7 USE comcstfi_h 7 8 IMPLICIT NONE 8 9 c======================================================================= … … 39 40 c ------------- 40 41 41 #include "comcstfi.h"42 42 #include "callkeys.h" 43 43 -
trunk/LMDZ.MARS/libf/phymars/vdifc.F
r1224 r1226 15 15 & igcm_h2o_ice, alpha_lift 16 16 use surfdat_h, only: watercaptag, frost_albedo_threshold, dryness 17 USE comcstfi_h 17 18 IMPLICIT NONE 18 19 … … 39 40 !#include "dimensions.h" 40 41 !#include "dimphys.h" 41 #include "comcstfi.h"42 42 #include "callkeys.h" 43 43 !#include "surfdat.h" -
trunk/LMDZ.MARS/libf/phymars/watercloud.F
r1047 r1226 7 7 USE ioipsl_getincom 8 8 USE updaterad 9 USE comcstfi_h 9 10 use tracer_mod, only: nqmx, igcm_h2o_vap, igcm_h2o_ice, 10 11 & igcm_dust_mass, igcm_dust_number, … … 36 37 !#include "dimensions.h" 37 38 !#include "dimphys.h" 38 #include "comcstfi.h"39 39 #include "callkeys.h" 40 40 !#include "tracer.h" -
trunk/LMDZ.MARS/libf/phymars/writeg1d.F
r141 r1226 124 124 125 125 SUBROUTINE endg1d(ngrid,nlayer,zlayer,ndt) 126 USE comcstfi_h 126 127 IMPLICIT NONE 127 128 c....................................................................... … … 138 139 c 139 140 #include "comg1d.h" 140 #include "comcstfi.h"141 141 c 142 142 c.......................................................................
Note: See TracChangeset
for help on using the changeset viewer.