Changeset 1266 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- May 19, 2014, 10:05:08 AM (11 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 1 deleted
- 71 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/aeropacity.F
r1246 r1266 56 56 c 57 57 c======================================================================= 58 !#include "dimensions.h"59 !#include "dimphys.h"60 58 #include "callkeys.h" 61 !#include "comgeomfi.h"62 !#include "dimradmars.h"63 !#include "tracer.h"64 59 65 60 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/aeroptproperties.F
r1246 r1266 28 28 29 29 #include "dimensions.h" 30 #include "dimphys.h"31 30 #include "callkeys.h" 32 !#include "dimradmars.h"33 31 34 32 c Local variables -
trunk/LMDZ.MARS/libf/phymars/albedocaps.F90
r1130 r1266 13 13 14 14 #include"dimensions.h" 15 #include"dimphys.h"16 !#include"surfdat.h"17 15 #include"callkeys.h" 18 !#ifdef MESOSCALE19 !#include"comgeomfi.h"20 !#endif21 16 22 17 ! arguments: … … 100 95 implicit none 101 96 #include"dimensions.h" 102 #include"dimphys.h"103 !#include"surfdat.h"104 !#include"comgeomfi.h"105 97 #include"datafile.h" 106 98 -
trunk/LMDZ.MARS/libf/phymars/blendrad.F
r1047 r1266 15 15 use yomlw_h, only: nlaylte 16 16 implicit none 17 !#include "dimensions.h"18 !#include "dimphys.h"19 !#include "dimradmars.h"20 17 #include "nlteparams.h" 21 !#include "yomlw.h"22 18 23 19 c Input: -
trunk/LMDZ.MARS/libf/phymars/calldrag_noro.F
r1047 r1266 55 55 c ------------------ 56 56 c 57 !#include "dimensions.h"58 !#include "dimphys.h"59 !#include "dimradmars.h"60 !#include "surfdat.h"61 57 62 58 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/callradite.F
r1246 r1266 82 82 c over layers 1..NFLEV (set in dimradmars_mod). Returns zero for higher 83 83 c layers, if any. 84 c In other routines, nlayer mx-> nflev.84 c In other routines, nlayer -> nflev. 85 85 c Routines affected: lwflux, lwi, lwmain, lwxb, lwxd, lwxn. 86 86 c … … 151 151 c ------------- 152 152 c 153 !#include "dimensions.h"154 !#include "dimphys.h"155 !#include "dimradmars.h"156 153 #include "callkeys.h" 157 !#include "yomlw.h"158 154 159 155 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/callsedim.F
r1226 r1266 30 30 c ------------- 31 31 32 !#include "dimensions.h"33 !#include "dimphys.h"34 !#include "tracer.h"35 32 #include "callkeys.h" 36 33 -
trunk/LMDZ.MARS/libf/phymars/co2snow.F
r1226 r1266 18 18 19 19 #include "dimensions.h" 20 #include "dimphys.h"21 !#include "surfdat.h"22 20 #include "callkeys.h" 23 21 -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r1264 r1266 46 46 IMPLICIT NONE 47 47 #include "dimensions.h" 48 #include "dimphys.h"49 !#include "comsaison.h"50 !#include "comdiurn.h"51 !#include "comgeomfi.h"52 48 #include "callkeys.h" 53 !#include "surfdat.h"54 !#include "dimradmars.h"55 49 #include "datafile.h" 56 !#include "slope.h"57 50 #include "microphys.h" 58 !#include "tracer.h"59 51 60 52 INTEGER,INTENT(IN) :: ngrid,nlayer,nq -
trunk/LMDZ.MARS/libf/phymars/convadj.F
r1226 r1266 32 32 ! ------------ 33 33 34 !#include "dimensions.h"35 !#include "dimphys.h"36 34 #include "callkeys.h" 37 !#include "tracer.h"38 35 39 36 -
trunk/LMDZ.MARS/libf/phymars/dimradmars_mod.F90
r1246 r1266 8 8 ! NDLO2 and ndomainsz for the splitting in the physics call 9 9 ! WARNING: One must have 1 < ndomainsz =< ngrid 10 integer,save :: NFLEV !=nlayer mx! with splitting10 integer,save :: NFLEV !=nlayer ! with splitting 11 11 integer,save :: ndomainsz !=(ngrid-1)/20 + 1 12 12 integer,save :: NDLON !=ndomainsz ! with splitting -
trunk/LMDZ.MARS/libf/phymars/drag_noro.F
r1226 r1266 48 48 C 49 49 C comcstfi.h 50 C dimphys.h51 50 C 52 51 c … … 71 70 c d_v-----output-R-increment de la vitesse v 72 71 c====================================================================== 73 !#include "dimensions.h"74 !#include "dimphys.h"75 !#include "dimradmars.h"76 72 c 77 73 c ARGUMENTS -
trunk/LMDZ.MARS/libf/phymars/dustdevil.F
r1226 r1266 30 30 c ------------- 31 31 32 !#include "dimensions.h"33 !#include "dimphys.h"34 c#include "comconst.h" ! TEMPORAIRE AVEC ANLDEVIL !!!!35 !#include "surfdat.h"36 !#include "comgeomfi.h"37 !#include "tracer.h"38 32 c arguments: 39 33 c ---------- -
trunk/LMDZ.MARS/libf/phymars/dustlift.F
r1226 r1266 24 24 c declarations: 25 25 c ------------- 26 27 !#include "dimensions.h"28 !#include "dimphys.h"29 !#include "tracer.h"30 26 31 27 c -
trunk/LMDZ.MARS/libf/phymars/eofdump_mod.F90
r1226 r1266 22 22 ! 23 23 #include "dimensions.h" 24 !#include "dimphys.h"25 24 ! 26 25 … … 86 85 ! 87 86 #include "dimensions.h" 88 !#include "dimphys.h"89 87 #include "comvert.h" 90 !#include "comgeomfi.h"91 88 92 89 integer,intent(in) :: ngrid ! total number of physics grid points -
trunk/LMDZ.MARS/libf/phymars/flusv.F
r1047 r1266 1 1 SUBROUTINE flusv(KDLON,nsf,n,omega,g,tau,emis,bh,bsol,fah,fdh) 2 use dimradmars_mod, only: ndlo2, ndlon 2 use dimradmars_mod, only: ndlo2, ndlon, nflev 3 3 IMPLICIT NONE 4 4 c....................................................................... … … 37 37 c 38 38 #include "dimensions.h" 39 #include "dimphys.h"40 !#include "dimradmars.h"41 39 c....................................................................... 42 40 c declaration des arguments … … 52 50 INTEGER iv,i,j 53 51 REAL beta,gama1,gama2,amu1,grgama,b0,b1 54 REAL a(NDLON,4*n layermx),b(NDLON,4*nlayermx)55 & ,d(NDLON,4*n layermx),e(NDLON,4*nlayermx)56 & ,y(NDLON,4*n layermx)57 & ,alambda(NDLON,2*n layermx)58 & ,e1(NDLON,2*n layermx),e2(NDLON,2*nlayermx)59 & ,e3(NDLON,2*n layermx),e4(NDLON,2*nlayermx)60 & ,cah(NDLON,2*n layermx),cab(NDLON,2*nlayermx)61 & ,cdh(NDLON,2*n layermx),cdb(NDLON,2*nlayermx)62 REAL grg(NDLON,2*n layermx),grh(NDLON,2*nlayermx)63 & ,grj(NDLON,2*n layermx),grk(NDLON,2*nlayermx)64 & ,alpha1(NDLON,2*n layermx),alpha2(NDLON,2*nlayermx)65 & ,sigma1(NDLON,2*n layermx),sigma2(NDLON,2*nlayermx)52 REAL a(NDLON,4*nflev),b(NDLON,4*nflev) 53 & ,d(NDLON,4*nflev),e(NDLON,4*nflev) 54 & ,y(NDLON,4*nflev) 55 & ,alambda(NDLON,2*nflev) 56 & ,e1(NDLON,2*nflev),e2(NDLON,2*nflev) 57 & ,e3(NDLON,2*nflev),e4(NDLON,2*nflev) 58 & ,cah(NDLON,2*nflev),cab(NDLON,2*nflev) 59 & ,cdh(NDLON,2*nflev),cdb(NDLON,2*nflev) 60 REAL grg(NDLON,2*nflev),grh(NDLON,2*nflev) 61 & ,grj(NDLON,2*nflev),grk(NDLON,2*nflev) 62 & ,alpha1(NDLON,2*nflev),alpha2(NDLON,2*nflev) 63 & ,sigma1(NDLON,2*nflev),sigma2(NDLON,2*nflev) 66 64 INTEGER nq 67 65 PARAMETER (nq=8) … … 272 270 273 271 SUBROUTINE sys3v(KDLON,n,a,b,d,e,y) 274 use dimradmars_mod, only: ndlon, ndlo2 272 use dimradmars_mod, only: ndlon, ndlo2, nflev 275 273 IMPLICIT NONE 276 274 c....................................................................... … … 291 289 c 292 290 c....................................................................... 293 c include des dimensions locales294 c295 #include "dimensions.h"296 #include "dimphys.h"297 !#include "dimradmars.h"298 c.......................................................................299 291 c declaration des arguments 300 292 c … … 305 297 c 306 298 INTEGER iv,i 307 REAL as(NDLON,4*n layermx),ds(NDLON,4*nlayermx)308 & ,x(NDLON,4*n layermx)299 REAL as(NDLON,4*nflev),ds(NDLON,4*nflev) 300 & ,x(NDLON,4*nflev) 309 301 c....................................................................... 310 302 c -
trunk/LMDZ.MARS/libf/phymars/getslopes.F90
r1226 r1266 7 7 8 8 #include "dimensions.h" 9 !#include "dimphys.h"10 !#include "slope.h"11 !#include "comgeomfi.h"12 13 9 14 10 ! This routine computes slope inclination and orientation for the GCM (callslope=.true. in callphys.def) -
trunk/LMDZ.MARS/libf/phymars/growthrate.F
r1226 r1266 20 20 c ------------- 21 21 22 #include "dimensions.h"23 #include "dimphys.h"24 !#include "tracer.h"25 22 #include "microphys.h" 26 23 -
trunk/LMDZ.MARS/libf/phymars/gwprofil.F
r1047 r1266 58 58 C 59 59 60 #include "dimensions.h"61 #include "dimphys.h"62 !#include "dimradmars.h"63 60 integer klon,klev,kidia,kfdia 64 61 #include "yoegwd.h" … … 91 88 92 89 integer ji,jk,jl,ilevh 93 REAL ZDZ2 (NDLO2, nlayermx) , ZNORM(NDLO2) , zoro(NDLO2)94 REAL ZTAU (NDLO2, nlayermx+1)90 REAL ZDZ2 (NDLO2,klev) , ZNORM(NDLO2) , zoro(NDLO2) 91 REAL ZTAU (NDLO2,klev+1) 95 92 C 96 93 C----------------------------------------------------------------------- … … 182 179 c write(*,*) 'ptau' 183 180 c write(*,99) ((ji,ilevh,ptau(ji,ilevh),ji=1,NDLO2), 184 c . ilevh=1, nlayermx+1)181 c . ilevh=1,klev+1) 185 182 99 FORMAT(i3,i3,f15.5) 186 183 -
trunk/LMDZ.MARS/libf/phymars/gwstress.F
r1047 r1266 48 48 implicit none 49 49 #include "dimensions.h" 50 #include "dimphys.h"51 !#include "dimradmars.h"52 50 integer klon,klev,kidia,kfdia 53 51 -
trunk/LMDZ.MARS/libf/phymars/improvedclouds.F
r1226 r1266 35 35 c A. Spiga, optimization (February 2012) 36 36 c------------------------------------------------------------------ 37 !#include "dimensions.h"38 !#include "dimphys.h"39 37 #include "callkeys.h" 40 !#include "tracer.h"41 !#include "comgeomfi.h"42 !#include "dimradmars.h"43 38 #include "microphys.h" 44 !#include "conc.h"45 39 c------------------------------------------------------------------ 46 40 c Inputs: -
trunk/LMDZ.MARS/libf/phymars/ini_archive.F
r1208 r1266 38 38 39 39 #include "dimensions.h" 40 #include "dimphys.h"41 40 #include "paramet.h" 42 41 #include "comconst.h" … … 48 47 #include "description.h" 49 48 #include "serre.h" 50 !#include "control.h"51 !#include"comsoil.h"52 53 49 #include "netcdf.inc" 54 50 -
trunk/LMDZ.MARS/libf/phymars/initracer.F
r1226 r1266 27 27 28 28 29 !#include "dimensions.h"30 !#include "dimphys.h"31 29 #include "callkeys.h" 32 !#include "tracer.h"33 !#include "advtrac.h"34 !#include "comgeomfi.h"35 36 !#include "surfdat.h"37 30 38 31 integer,intent(in) :: ngrid ! number of atmospheric columns -
trunk/LMDZ.MARS/libf/phymars/iniwrite.F
r1226 r1266 23 23 #include "dimensions.h" 24 24 #include "paramet.h" 25 !include "comconst.h"26 25 #include "comvert.h" 27 26 #include "comgeom.h" … … 32 31 #include "description.h" 33 32 #include "serre.h" 34 !#include"dimphys.h"35 !#include"comsoil.h"36 33 37 34 c Arguments: -
trunk/LMDZ.MARS/libf/phymars/iniwritesoil.F90
r1226 r1266 11 11 12 12 #include"dimensions.h" 13 !#include"dimphys.h"14 13 #include"paramet.h" 15 14 #include"comgeom.h" 16 !#include"comsoil.h"17 15 #include"netcdf.inc" 18 16 … … 51 49 endif 52 50 ierr=NF_DEF_DIM(nid,"depth",nsoilmx,idim_depth) 53 ! nsoilmx known from dimphys.h51 ! nsoilmx known from comsoil_h 54 52 if (ierr.ne.NF_NOERR) then 55 53 write(*,*)"iniwritesoil: Error, could not define depth dimension" -
trunk/LMDZ.MARS/libf/phymars/lect_start_archive.F
r1246 r1266 23 23 24 24 #include "dimensions.h" 25 !#include "dimphys.h"26 !#include "surfdat.h"27 !#include "comsoil.h"28 !#include "dimradmars.h"29 25 #include "paramet.h" 30 26 #include "comconst.h" 31 27 #include "comvert.h" 32 28 #include "comgeom2.h" 33 !#include "control.h"34 29 #include "logic.h" 35 30 #include "description.h" 36 31 #include "ener.h" 37 32 #include "temps.h" 38 !#include "lmdstd.h"39 33 #include "netcdf.inc" 40 !#include "tracer.h"41 !#include"advtrac.h"42 34 c======================================================================= 43 35 c Declarations … … 337 329 write(*,*) ' which implies that you want subterranean interpola 338 330 &tion.' 339 write(*,*) ' Otherwise, set nsoilmx -in dimphys.h- to: ',nsoilold331 write(*,*) ' Otherwise, set nsoilmx -in comsoil_h- to: ',nsoilold 340 332 endif 341 333 write(*,*) "time lenght: ",timelen -
trunk/LMDZ.MARS/libf/phymars/lwb.F
r1085 r1266 11 11 implicit none 12 12 13 !#include "dimensions.h"14 !#include "dimphys.h"15 !#include "dimradmars.h"16 !#include "callkeys.h"17 18 !#include "yomlw.h"19 20 13 c---------------------------------------------------------------------- 21 14 c 0.1 arguments -
trunk/LMDZ.MARS/libf/phymars/lwdiff.F
r1246 r1266 10 10 IMPLICIT NONE 11 11 12 !#include "dimensions.h"13 !#include "dimphys.h"14 !#include "dimradmars.h"15 12 #include "callkeys.h" 16 13 17 !#include "yomlw.h"18 14 C----------------------------------------------------------------------- 19 15 C -
trunk/LMDZ.MARS/libf/phymars/lwflux.F
r1047 r1266 15 15 implicit none 16 16 17 18 !#include "dimensions.h"19 !#include "dimphys.h"20 !#include "dimradmars.h"21 17 #include "callkeys.h" 22 18 #include "comg1d.h" 23 24 !#include "yomlw.h"25 19 26 20 c---------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/lwi.F
r1226 r1266 9 9 implicit none 10 10 11 12 !#include "dimensions.h"13 !#include "dimphys.h"14 !#include "dimradmars.h"15 11 #include "comg1d.h" 16 12 #include "callkeys.h" 17 !#include "yomlw.h"18 13 19 14 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC -
trunk/LMDZ.MARS/libf/phymars/lwmain.F
r1246 r1266 17 17 implicit none 18 18 19 !#include "dimensions.h"20 !#include "dimphys.h"21 !#include "dimradmars.h"22 19 #include "callkeys.h" 23 20 #include "comg1d.h" 24 !#include "yomlw.h"25 21 26 22 c---------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/lwtt.F
r1047 r1266 10 10 use yomlw_h, only: ga, gb, cst_voigt 11 11 implicit none 12 13 !#include "dimensions.h"14 !#include "dimphys.h"15 !#include "dimradmars.h"16 !#include "yomlw.h"17 12 18 13 c---------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/lwu.F
r1246 r1266 37 37 implicit none 38 38 39 !#include "dimensions.h"40 !#include "dimphys.h"41 !#include "dimradmars.h"42 43 !#include "yomlw.h"44 45 39 #include "callkeys.h" 46 40 -
trunk/LMDZ.MARS/libf/phymars/lwxb.F
r1047 r1266 36 36 use yomlw_h, only: xi, nlaylte 37 37 implicit none 38 39 !#include "dimensions.h"40 !#include "dimphys.h"41 !#include "dimradmars.h"42 !#include "callkeys.h"43 44 !#include "yomlw.h"45 38 46 39 c---------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/lwxd.F
r1047 r1266 36 36 implicit none 37 37 38 !#include "dimensions.h"39 !#include "dimphys.h"40 !#include "dimradmars.h"41 42 !#include "yomlw.h"43 38 #include "callkeys.h" 44 39 -
trunk/LMDZ.MARS/libf/phymars/lwxn.F
r1047 r1266 74 74 implicit none 75 75 76 !#include "dimensions.h"77 !#include "dimphys.h"78 !#include "dimradmars.h"79 80 !#include "yomlw.h"81 76 #include "callkeys.h" 82 77 -
trunk/LMDZ.MARS/libf/phymars/newcondens.F
r1263 r1266 59 59 c 60 60 #include "dimensions.h" 61 !#include "dimphys.h"62 !#include "surfdat.h"63 !#include "comgeomfi.h"64 61 #include "comvert.h" 65 !#include "paramet.h"66 62 #include "callkeys.h" 67 !#include "tracer.h"68 63 69 64 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/newsedim.F
r1226 r1266 14 14 c declarations: 15 15 c ------------- 16 17 !#include "dimensions.h"18 !#include "dimphys.h"19 16 20 17 c -
trunk/LMDZ.MARS/libf/phymars/newstart.F
r1246 r1266 39 39 #include "dimensions.h" 40 40 integer, parameter :: ngridmx = (2+(jjm-1)*iim - 1/jjm) 41 #include "dimphys.h"42 !#include "surfdat.h"43 !#include "comsoil.h"44 !#include "dimradmars.h"45 41 #include "paramet.h" 46 42 #include "comconst.h" 47 43 #include "comvert.h" 48 44 #include "comgeom2.h" 49 !#include "control.h"50 45 #include "logic.h" 51 46 #include "description.h" 52 47 #include "ener.h" 53 48 #include "temps.h" 54 !#include "lmdstd.h"55 49 #include "comdissnew.h" 56 50 #include "clesph0.h" 57 51 #include "serre.h" 58 52 #include "netcdf.inc" 59 !#include"advtrac.h"60 !#include"tracer.h"61 53 #include "datafile.h" 62 54 c======================================================================= … … 105 97 c variable physique 106 98 c------------------ 107 ! REAL tsurf(ngridmx) ! surface temperature108 ! REAL tsoil(ngridmx,nsoilmx) ! soil temperature109 ! REAL co2ice(ngridmx) ! CO2 ice layer110 ! REAL emis(ngridmx) ! surface emissivity111 ! REAL tauscaling(ngridmx) ! dust conversion factor112 99 REAL tauscadyn(iip1,jjp1) ! dust conversion factor on the dynamics grid 113 ! REAL,ALLOCATABLE :: qsurf(:,:)114 ! REAL q2(ngridmx,nlayermx+1)115 ! REAL rnaturfi(ngridmx)116 100 real alb(iip1,jjp1),albfi(ngridmx) ! albedos 117 101 real ith(iip1,jjp1,nsoilmx),ithfi(ngridmx,nsoilmx) ! thermal inertia (3D) … … 203 187 ! allocate arrays 204 188 allocate(q(iip1,jjp1,llm,nqtot)) 205 ! allocate(qsurf(ngridmx,nqtot)) ! done in ini_surfdat_h206 189 allocate(coefvmr(nqtot)) 207 190 -
trunk/LMDZ.MARS/libf/phymars/nirco2abs.F
r1226 r1266 47 47 c ------------------ 48 48 c 49 !#include "dimensions.h"50 !#include "dimphys.h"51 49 #include "callkeys.h" 52 !#include "comdiurn.h"53 50 #include "nirdata.h" 54 !#include "tracer.h"55 51 56 52 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/nlte_tcool.F
r1260 r1266 34 34 35 35 include "dimensions.h" 36 include "dimphys.h"37 36 include 'nlte_paramdef.h' 38 37 include 'nlte_commons.h' 39 38 include "chimiedata.h" 40 ! include "conc.h"41 39 42 40 … … 1361 1359 @ ( mmean_nlte,cpmean_nlte ) 1362 1360 USE comcstfi_h 1361 use param_v4_h, only: n_avog 1363 1362 implicit none 1364 1363 1365 include 'param.h'1366 1367 1364 c argumentos 1368 real 1369 real 1365 real mmean_nlte,cpmean_nlte 1366 real hrkday_convert 1370 1367 1371 1368 ccccccccccccccccccccccccccccccccccccc -
trunk/LMDZ.MARS/libf/phymars/nltecool.F
r1047 r1266 36 36 #include "nltedata.h" ! (Equivalent to the reading of the "nlte_escape.dat" file) 37 37 #include "dimensions.h" 38 #include "dimphys.h"39 38 #include "chimiedata.h" 40 !#include "conc.h" !Added to have "dynamic composition" in the scheme41 !#include "tracer.h" !"42 39 #include "callkeys.h" 43 40 -
trunk/LMDZ.MARS/libf/phymars/nlthermeq.F
r1047 r1266 10 10 use yomlw_h, only: nlaylte 11 11 implicit none 12 !#include "dimensions.h"13 !#include "dimphys.h"14 !#include "dimradmars.h"15 12 #include "nlteparams.h" 16 !#include "yomlw.h"17 13 #include "callkeys.h" 18 14 -
trunk/LMDZ.MARS/libf/phymars/nuclea.F
r1226 r1266 16 16 17 17 #include "dimensions.h" 18 #include "dimphys.h"19 !#include "tracer.h"20 18 #include "microphys.h" 21 19 -
trunk/LMDZ.MARS/libf/phymars/orodrag.F
r1226 r1266 53 53 C 54 54 C comcstfi.h 55 C dimphys.h56 55 C yoegwd.h 57 56 C … … 76 75 C 77 76 C 78 #include "dimensions.h"79 #include "dimphys.h"80 !#include "dimradmars.h"81 77 integer klon,klev,kidia 82 78 parameter(kidia=1) … … 123 119 real zconb,zabsv,zzd1,ratio,zust,zvst,zdis,ztemp 124 120 C 125 REAL ZTAU(NDLO2, nlayermx+1),126 * ZSTAB(NDLO2, nlayermx+1),127 * ZVPH(NDLO2, nlayermx+1),128 * ZRHO(NDLO2, nlayermx+1),129 * ZRI(NDLO2, nlayermx+1),130 * ZpsI(NDLO2, nlayermx+1),131 * Zzdep(NDLO2, nlayermx)121 REAL ZTAU(NDLO2,klev+1), 122 * ZSTAB(NDLO2,klev+1), 123 * ZVPH(NDLO2,klev+1), 124 * ZRHO(NDLO2,klev+1), 125 * ZRI(NDLO2,klev+1), 126 * ZpsI(NDLO2,klev+1), 127 * Zzdep(NDLO2,klev) 132 128 REAL ZDUDT(NDLO2), 133 129 * ZDVDT(NDLO2), -
trunk/LMDZ.MARS/libf/phymars/orosetup.F
r1226 r1266 51 51 C 52 52 53 #include "dimensions.h"54 #include "dimphys.h"55 !#include "dimradmars.h"56 53 integer klon,klev,kidia,kfdia 57 54 … … 83 80 C 84 81 C 85 LOGICAL LL1(NDLO2, nlayermx+1)82 LOGICAL LL1(NDLO2,klev+1) 86 83 integer kknu(NDLO2),kknu2(NDLO2),kknub(NDLO2),kknul(NDLO2), 87 84 * kentp(NDLO2),ncount(NDLO2) 88 85 C 89 REAL ZHCRIT(NDLO2, nlayermx),ZNCRIT(NDLO2,nlayermx),90 * ZVPF(NDLO2, nlayermx), ZDP(NDLO2,nlayermx)86 REAL ZHCRIT(NDLO2,klev),ZNCRIT(NDLO2,klev), 87 * ZVPF(NDLO2,klev), ZDP(NDLO2,klev) 91 88 REAL ZNORM(NDLO2),zpsi(NDLO2),zb(NDLO2),zc(NDLO2), 92 89 * zulow(NDLO2),zvlow(NDLO2),znup(NDLO2),znum(NDLO2) -
trunk/LMDZ.MARS/libf/phymars/phyetat0.F90
r1246 r1266 21 21 ! June 2013 TN : Possibility to read files with a time axis 22 22 ! November 2013 EM : Enabeling parallel, using iostart module 23 !======================================================================24 !#include "netcdf.inc"25 !#include "dimensions.h"26 !#include "dimphys.h"27 !#include "comgeomfi.h"28 !#include "surfdat.h"29 !#include "dimradmars.h"30 !#include "tracer.h"31 !#include "advtrac.h"32 !#include "control.h"33 23 !====================================================================== 34 24 INTEGER nbsrf !Mars nbsrf a 1 au lieu de 4 -
trunk/LMDZ.MARS/libf/phymars/physiq.F
r1264 r1266 34 34 & obliquit 35 35 USE comcstfi_h, only: r, cpp, mugaz, g, rcp, pi, rad, daysec 36 use param_v4_h, only: nreact,n_avog, 37 & fill_data_thermos, allocate_param_thermos 38 use iono_h, only: allocate_param_iono 36 39 #ifdef MESOSCALE 37 40 use comsoil_h, only: mlayer,layer … … 144 147 145 148 #include "dimensions.h" 146 #include "dimphys.h"147 !#include "comgeomfi.h"148 !#include "surfdat.h"149 !#include "comsoil.h"150 !#include "comdiurn.h"151 149 #include "callkeys.h" 152 !#include "comsaison.h"153 !#include "control.h"154 !#include "dimradmars.h"155 150 #include "comg1d.h" 156 !#include "tracer.h"157 151 #include "nlteparams.h" 158 152 #include "comvert.h" 159 160 153 #include "chimiedata.h" 161 #include "param.h"162 #include "param_v4.h"163 !#include "conc.h"164 165 154 #include "netcdf.inc" 166 167 !#include "slope.h"168 155 169 156 c Arguments : … … 415 402 PRINT*,'check: tracernames ', noms 416 403 PRINT*,'check: emis ',emis(1),emis(ngrid) 417 PRINT*,'check: q2 ',q2(1,1),q2(ngrid,nlayer mx+1)404 PRINT*,'check: q2 ',q2(1,1),q2(ngrid,nlayer+1) 418 405 PRINT*,'check: qsurf ',qsurf(1,1),qsurf(ngrid,nq) 419 406 PRINT*,'check: co2 ',co2ice(1),co2ice(ngrid) … … 463 450 464 451 if (callthermos) then 452 call fill_data_thermos 453 call allocate_param_thermos(nlayer) 454 call allocate_param_iono(nlayer,nreact) 465 455 if(solvarmod.eq.0) call param_read 466 456 if(solvarmod.eq.1) call param_read_e107 … … 884 874 zdqdif(1:ngrid,1,igcm_dust_mass) = 885 875 . -zdqsdif(1:ngrid,igcm_dust_mass) 886 zdqdif(1:ngrid,2:nlayer mx,1:nq) = 0.876 zdqdif(1:ngrid,2:nlayer,1:nq) = 0. 887 877 DO iq=1, nq 888 878 IF ((iq .ne. igcm_dust_mass) -
trunk/LMDZ.MARS/libf/phymars/read_dust_scenario.F90
r1156 r1266 8 8 9 9 #include "dimensions.h" 10 #include "dimphys.h"11 !#include "comgeomfi.h"12 10 #include "datafile.h" 13 11 #include "callkeys.h" -
trunk/LMDZ.MARS/libf/phymars/simpleclouds.F
r1246 r1266 31 31 c of the typical CCN profile, Oct. 2011) 32 32 c------------------------------------------------------------------ 33 !#include "dimensions.h"34 !#include "dimphys.h"35 33 #include "callkeys.h" 36 !#include "tracer.h"37 !#include "comgeomfi.h"38 !#include "dimradmars.h"39 34 40 35 c------------------------------------------------------------------ -
trunk/LMDZ.MARS/libf/phymars/soil.F
r1224 r1266 21 21 22 22 #include "dimensions.h" 23 #include "dimphys.h" 24 25 !#include"comsoil.h" 26 27 !#include"surfdat.h" 28 #include"callkeys.h" 23 #include "callkeys.h" 29 24 30 25 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/soil_tifeedback.F
r1224 r1266 26 26 27 27 #include "dimensions.h" 28 #include "dimphys.h"29 !#include "comsoil.h"30 !#include "tracer.h"31 !#include "surfdat.h"32 28 33 29 c Local variables -
trunk/LMDZ.MARS/libf/phymars/start2archive.F
r1230 r1266 35 35 #include "logic.h" 36 36 #include "temps.h" 37 !#include "control.h"38 37 #include "ener.h" 39 38 #include "description.h" 40 41 !#include "dimphys.h"42 !#include "comsoil.h"43 !#include"advtrac.h"44 39 #include "netcdf.inc" 45 40 -
trunk/LMDZ.MARS/libf/phymars/suaer.F90
r1246 r1266 45 45 #include "callkeys.h" 46 46 #include "datafile.h" 47 !#include "dimensions.h"48 !#include "dimphys.h"49 !#include "dimradmars.h"50 47 51 48 ! Optical properties (read in external ASCII files) -
trunk/LMDZ.MARS/libf/phymars/surfini.F
r1226 r1266 23 23 c ------------- 24 24 #include "dimensions.h" 25 !#include "dimphys.h"26 !#include "surfdat.h"27 25 #include "callkeys.h" 28 !#include "tracer.h"29 !#include "comgeomfi.h"30 31 26 #include "datafile.h" 32 27 -
trunk/LMDZ.MARS/libf/phymars/swmain.F
r1246 r1266 10 10 IMPLICIT NONE 11 11 12 !#include "dimensions.h"13 !#include "dimphys.h"14 !#include "dimradmars.h"15 16 !#include "yomlw.h"17 12 #include "callkeys.h" 18 13 c -
trunk/LMDZ.MARS/libf/phymars/swr_fouquart.F
r1246 r1266 9 9 IMPLICIT NONE 10 10 C 11 !#include "dimensions.h"12 !#include "dimphys.h"13 !#include "dimradmars.h"14 11 #include "callkeys.h" 15 !#include "yomlw.h"16 12 17 13 C … … 382 378 implicit none 383 379 C 384 !#include "dimensions.h"385 !#include "dimphys.h"386 !#include "dimradmars.h"387 380 C 388 381 C**** *DEDD* - DELTA-EDDINGTON IN A CLOUDY LAYER -
trunk/LMDZ.MARS/libf/phymars/swr_toon.F
r1246 r1266 10 10 IMPLICIT NONE 11 11 C 12 !#include "dimensions.h"13 !#include "dimphys.h"14 !#include "dimradmars.h"15 12 #include "callkeys.h" 16 !#include "yomaer.h"17 !#include "yomlw.h"18 13 19 14 C -
trunk/LMDZ.MARS/libf/phymars/tabfi.F
r1246 r1266 34 34 c comparer avec le day_ini dynamique) 35 35 c 36 c - lmax: tab_cntrl(tab0+2) (pour test avec nlayer mx)36 c - lmax: tab_cntrl(tab0+2) (pour test avec nlayer) 37 37 c 38 38 c - p_rad … … 54 54 implicit none 55 55 56 !#include "dimensions.h"57 !#include "dimphys.h"58 !#include "comgeomfi.h"59 !#include "surfdat.h"60 !#include "comsoil.h"61 56 #include "netcdf.inc" 62 !#include "dimradmars.h"63 57 64 58 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/testphys1d.F
r1246 r1266 41 41 42 42 #include "dimensions.h" 43 #include "dimphys.h"44 43 integer, parameter :: ngrid = 1 !(2+(jjm-1)*iim - 1/jjm) 44 integer, parameter :: nlayer = llm 45 45 !#include "dimradmars.h" 46 46 !#include "comgeomfi.h" … … 72 72 REAL day ! date durant le run 73 73 REAL time ! time (0<time<1 ; time=0.5 a midi) 74 REAL play(nlayer mx) ! Pressure at the middle of the layers (Pa)75 REAL plev(nlayer mx+1) ! intermediate pressure levels (pa)74 REAL play(nlayer) ! Pressure at the middle of the layers (Pa) 75 REAL plev(nlayer+1) ! intermediate pressure levels (pa) 76 76 REAL psurf,tsurf(1) 77 REAL u(nlayer mx),v(nlayermx) ! zonal, meridional wind77 REAL u(nlayer),v(nlayer) ! zonal, meridional wind 78 78 REAL gru,grv ! prescribed "geostrophic" background wind 79 REAL temp(nlayer mx) ! temperature at the middle of the layers79 REAL temp(nlayer) ! temperature at the middle of the layers 80 80 REAL,ALLOCATABLE :: q(:,:) ! tracer mixing ratio (e.g. kg/kg) 81 81 REAL,ALLOCATABLE :: qsurf(:) ! tracer surface budget (e.g. kg.m-2) … … 83 83 REAL co2ice(1) ! co2ice layer (kg.m-2) 84 84 REAL emis(1) ! surface layer 85 REAL q2(nlayer mx+1) ! Turbulent Kinetic Energy86 REAL zlay(nlayer mx) ! altitude estimee dans les couches (km)85 REAL q2(nlayer+1) ! Turbulent Kinetic Energy 86 REAL zlay(nlayer) ! altitude estimee dans les couches (km) 87 87 88 88 c Physical and dynamical tandencies (e.g. m.s-2, K/s, Pa/s) 89 REAL du(nlayer mx),dv(nlayermx),dtemp(nlayermx)90 REAL dudyn(nlayer mx),dvdyn(nlayermx),dtempdyn(nlayermx)89 REAL du(nlayer),dv(nlayer),dtemp(nlayer) 90 REAL dudyn(nlayer),dvdyn(nlayer),dtempdyn(nlayer) 91 91 REAL dpsurf 92 92 REAL,ALLOCATABLE :: dq(:,:) … … 96 96 INTEGER thermo 97 97 REAL zls 98 REAL phi(nlayer mx),h(nlayermx),s(nlayermx)99 REAL pks, ptif, w(nlayer mx)98 REAL phi(nlayer),h(nlayer),s(nlayer) 99 REAL pks, ptif, w(nlayer) 100 100 REAL qtotinit,qtot 101 101 real,allocatable :: mqtot(:) 102 102 INTEGER ierr, aslun 103 REAL tmp1(0:nlayer mx),tmp2(0:nlayermx)103 REAL tmp1(0:nlayer),tmp2(0:nlayer) 104 104 Logical tracerdyn 105 105 integer :: nq=1 ! number of tracers … … 212 212 ! allocate arrays: 213 213 allocate(tname(nq)) 214 allocate(q(nlayer mx,nq))214 allocate(q(nlayer,nq)) 215 215 allocate(qsurf(nq)) 216 allocate(dq(nlayer mx,nq))217 allocate(dqdyn(nlayer mx,nq))216 allocate(dq(nlayer,nq)) 217 allocate(dqdyn(nlayer,nq)) 218 218 allocate(mqtot(nq)) 219 219 … … 247 247 if (ierr.eq.0) then 248 248 read(91,*) qsurf(iq) 249 do ilayer=1,nlayer mx249 do ilayer=1,nlayer 250 250 read(91,*) q(ilayer,iq) 251 251 enddo … … 262 262 if (ierr.eq.0) then 263 263 read(91,*) qsurf(iq) 264 do ilayer=1,nlayer mx264 do ilayer=1,nlayer 265 265 read(91,*) q(ilayer,iq) 266 266 enddo … … 278 278 if (ierr.eq.0) then 279 279 read(91,*) qsurf(iq) 280 do ilayer=1,nlayer mx280 do ilayer=1,nlayer 281 281 read(91,*) q(ilayer,iq) 282 282 enddo … … 293 293 if (ierr.eq.0) then 294 294 read(91,*) qsurf(iq) 295 do ilayer=1,nlayer mx295 do ilayer=1,nlayer 296 296 read(91,*) q(ilayer,iq) 297 297 enddo … … 313 313 if (ierr.eq.0) then 314 314 read(91,*) qsurf(iq) 315 do ilayer=1,nlayer mx315 do ilayer=1,nlayer 316 316 read(91,*) q(ilayer,iq) 317 317 ! write(*,*) "l=",ilayer," q(ilayer,iq)=",q(ilayer,iq) … … 329 329 if (ierr.eq.0) then 330 330 read(91,*) qsurf(iq) 331 do ilayer=1,nlayer mx331 do ilayer=1,nlayer 332 332 read(91,*) q(ilayer,iq) 333 333 enddo … … 345 345 if (ierr.eq.0) then 346 346 read(91,*) qsurf(iq) 347 do ilayer=1,nlayer mx347 do ilayer=1,nlayer 348 348 read(91,*) q(ilayer,iq) 349 349 enddo … … 360 360 if (ierr.eq.0) then 361 361 read(91,*) qsurf(iq) 362 do ilayer=1,nlayer mx362 do ilayer=1,nlayer 363 363 read(91,*) q(ilayer,iq) 364 364 enddo … … 375 375 ! allocate arrays: 376 376 allocate(tname(nq)) 377 allocate(q(nlayer mx,nq))377 allocate(q(nlayer,nq)) 378 378 allocate(qsurf(nq)) 379 allocate(dq(nlayer mx,nq))380 allocate(dqdyn(nlayer mx,nq))379 allocate(dq(nlayer,nq)) 380 allocate(dqdyn(nlayer,nq)) 381 381 allocate(mqtot(nq)) 382 382 do iq=1,nq … … 410 410 c -------------- 411 411 c 412 nlayer=nlayermx413 412 nlevel=nlayer+1 414 413 nsoil=nsoilmx -
trunk/LMDZ.MARS/libf/phymars/updaterad.F90
r1226 r1266 65 65 USE comcstfi_h 66 66 implicit none 67 68 #include "dimensions.h"69 #include "dimphys.h"70 !#include "tracer.h"71 67 72 68 real, intent(in) :: qice,qccn,nccn … … 122 118 USE comcstfi_h 123 119 implicit none 124 125 #include "dimensions.h"126 #include "dimphys.h"127 !#include "tracer.h"128 120 129 121 real, intent(in) :: qice … … 181 173 implicit none 182 174 183 #include "dimensions.h"184 #include "dimphys.h"185 !#include "tracer.h"186 187 175 real, intent(in) :: qdust,ndust ! needed if doubleq 188 176 real, intent(in), optional :: tauscaling ! useful for realistic thresholds … … 237 225 implicit none 238 226 239 #include "dimensions.h"240 #include "dimphys.h"241 !#include "tracer.h"242 243 227 real, intent(in) :: qccn,nccn ! needed if doubleq 244 228 real, intent(in), optional :: tauscaling ! useful for realistic thresholds -
trunk/LMDZ.MARS/libf/phymars/updatereffrad.F
r1246 r1266 35 35 c ------------- 36 36 c 37 !#include "dimensions.h"38 !#include "dimphys.h"39 37 #include "callkeys.h" 40 !#include "dimradmars.h"41 !#include "tracer.h"42 !#include "yomaer.h"43 38 44 39 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/vdif_kc.F
r1130 r1266 5 5 IMPLICIT NONE 6 6 c....................................................................... 7 !#include "dimensions.h"8 !#include "dimphys.h"9 !#include "tracer.h"10 7 #include "callkeys.h" 11 8 c....................................................................... -
trunk/LMDZ.MARS/libf/phymars/vdifc.F
r1242 r1266 36 36 c ------------- 37 37 38 !#include "dimensions.h"39 !#include "dimphys.h"40 38 #include "callkeys.h" 41 !#include "surfdat.h"42 !#include "comgeomfi.h"43 !#include "tracer.h"44 39 #include "microphys.h" 45 40 -
trunk/LMDZ.MARS/libf/phymars/vlz_fi.F
r1047 r1266 16 16 IMPLICIT NONE 17 17 c 18 !#include "dimensions.h"19 !#include "dimphys.h"20 18 21 19 c -
trunk/LMDZ.MARS/libf/phymars/watercloud.F
r1246 r1266 36 36 c ------------- 37 37 38 !#include "dimensions.h"39 !#include "dimphys.h"40 38 #include "callkeys.h" 41 !#include "tracer.h"42 !#include "comgeomfi.h"43 !#include "dimradmars.h"44 39 45 40 c Inputs: -
trunk/LMDZ.MARS/libf/phymars/write_archive.F
r1208 r1266 36 36 37 37 #include "dimensions.h" 38 #include "dimphys.h"39 38 #include "paramet.h" 40 39 !#include "control.h" -
trunk/LMDZ.MARS/libf/phymars/writediagfi.F
r1130 r1266 48 48 ! Commons 49 49 #include "dimensions.h" 50 !#include "dimphys.h"51 50 #include "paramet.h" 52 !#include "control.h"53 51 #include "comvert.h" 54 52 #include "comgeom.h" … … 56 54 #include "netcdf.inc" 57 55 #include "temps.h" 58 !#include "surfdat.h"59 56 60 57 ! Arguments on input: -
trunk/LMDZ.MARS/libf/phymars/writediagsoil.F90
r1130 r1266 20 20 21 21 #include"dimensions.h" 22 !#include"dimphys.h"23 22 #include"paramet.h" 24 23 !#include"control.h" -
trunk/LMDZ.MARS/libf/phymars/wstats.F90
r1130 r1266 7 7 8 8 #include "dimensions.h" 9 #include "dimphys.h"10 9 #include "comconst.h" 11 10 #include "statto.h" … … 293 292 294 293 include "dimensions.h" 295 include "dimphys.h"296 294 include "netcdf.inc" 297 295 -
trunk/LMDZ.MARS/libf/phymars/yamada4.F
r1224 r1266 16 16 !....................................................................... 17 17 ! MARS 18 #include "dimensions.h"19 #include "dimphys.h"20 !#include "tracer.h"21 18 #include "callkeys.h" 22 19 !....................................................................... … … 608 605 !....................................................................... 609 606 ! MARS 610 #include "dimensions.h"611 #include "dimphys.h"612 !#include "tracer.h"613 607 #include "callkeys.h" 614 608 !....................................................................... … … 689 683 !....................................................................... 690 684 ! MARS 691 #include "dimensions.h"692 #include "dimphys.h"693 !#include "tracer.h"694 685 #include "callkeys.h" 695 686 !.......................................................................
Note: See TracChangeset
for help on using the changeset viewer.