Changeset 552 for trunk/LMDZ.MARS/libf/aeronomars
- Timestamp:
- Mar 2, 2012, 9:53:27 AM (13 years ago)
- Location:
- trunk/LMDZ.MARS/libf/aeronomars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/aeronomars/euvheat.F
r38 r552 193 193 194 194 do l=1,nlayermx 195 pdteuv(ig,l)= 0.16*jtot(l)/10.195 pdteuv(ig,l)=euveff*jtot(l)/10. 196 196 & /(cpnew(ig,l)*pplay(ig,l)/(rnew(ig,l)*zt(ig,l))) 197 197 & *(1.52/dist_sol)**2 -
trunk/LMDZ.MARS/libf/aeronomars/inichim_newstart.F
r460 r552 72 72 & 1.,17.,33.,18.,34.,16.,48./ ! minors 73 73 character*3 tmp ! temporary variable 74 integer ierr,lnblnk 75 external lnblnk 74 integer ierr 76 75 77 76 logical :: oldnames ! =.true. if old tracer naming convention (q01,...) … … 476 475 c---------------------------------------------------------------------- 477 476 open(210, iostat=ierr,file= 478 & datafile(1:lnblnk(datafile))//'/atmosfera_LMD_may.dat')477 & trim(datafile)//'/atmosfera_LMD_may.dat') 479 478 if (ierr.ne.0) then 480 479 write(*,*)'Error : cannot open file atmosfera_LMD_may.dat ' 481 480 write(*,*)'(in aeronomars/inichim.F)' 482 write(*,*)'It should be in :', datafile(1:lnblnk(datafile)),'/'483 write(*,*)'1) You can change this directory address in'484 write(*,*)' file phymars/datafile.h'481 write(*,*)'It should be in :', trim(datafile),'/' 482 write(*,*)'1) You can change this path in callphys.def with' 483 write(*,*)' datadir=/path/to/datafiles/' 485 484 write(*,*)'2) If necessary atmosfera_LMD_may.dat (and others)' 486 485 write(*,*)' can be obtained online on:' … … 489 488 endif 490 489 open(220, iostat=ierr,file= 491 & datafile(1:lnblnk(datafile))//'/atmosfera_LMD_min.dat')490 & trim(datafile)//'/atmosfera_LMD_min.dat') 492 491 if (ierr.ne.0) then 493 492 write(*,*)'Error : cannot open file atmosfera_LMD_min.dat ' 494 493 write(*,*)'(in aeronomars/inichim.F)' 495 write(*,*)'It should be in :', datafile(1:lnblnk(datafile)),'/'496 write(*,*)'1) You can change this directory address in'497 write(*,*)' file phymars/datafile.h'494 write(*,*)'It should be in :', trim(datafile),'/' 495 write(*,*)'1) You can change this path in callphys.def with' 496 write(*,*)' datadir=/path/to/datafiles/' 498 497 write(*,*)'2) If necessary atmosfera_LMD_min.dat (and others)' 499 498 write(*,*)' can be obtained online on:' -
trunk/LMDZ.MARS/libf/aeronomars/moldiff_red.F90
r517 r552 314 314 315 315 316 ! If Zmax > 2000 km there is a problem / stop317 318 if (Zmax .gt. 2000000.) then316 ! If Zmax > 4000 km there is a problem / stop 317 318 if (Zmax .gt. 4000000.) then 319 319 Print*,'Zmax too high',ig,zmax,zmin 320 320 do l=1,nlayermx … … 918 918 SUBROUTINE QMNEW(Q1,DQ,Q2,dtime,nl,nq,gc,ig) 919 919 IMPLICIT NONE 920 #include "dimensions.h" 920 921 921 922 INTEGER :: nl,nq 922 923 INTEGER :: l,iq,ig 923 924 INTEGER,dimension(nq) :: gc 924 REAL,DIMENSION(nl,nq ) :: Q1,DQ925 REAL,DIMENSION(nl,nqmx) :: Q1,DQ 925 926 REAL*8,DIMENSION(nl,nq) :: Q2 926 927 REAL :: dtime … … 951 952 SUBROUTINE MMOY(massemoy,mmol,qq,gc,nl,nq) 952 953 IMPLICIT NONE 954 #include "dimensions.h" 953 955 954 956 INTEGER :: nl,nq,l … … 956 958 REAL*8,DIMENSION(nl,nq) :: qq 957 959 REAL*8,DIMENSION(nl) :: massemoy 958 REAL,DIMENSION(nq ) :: MMOL960 REAL,DIMENSION(nqmx) :: MMOL 959 961 960 962 … … 1034 1036 & Nraf,Nrafk,Rraf,Rrafk,il,nl,nq,nlx,ig) 1035 1037 IMPLICIT NONE 1038 #include "dimensions.h" 1036 1039 1037 1040 INTEGER :: nl,nq,il,l,i,iq,nlx,iz,ig … … 1044 1047 REAL*8, DIMENSION(nl,nq) :: Qraf,Rrafk,Nrafk 1045 1048 REAL*8 :: facZ,dZ,H 1046 REAL,DIMENSION(nq ) :: mmol1049 REAL,DIMENSION(nqmx) :: mmol 1047 1050 masseU=1.660538782d-27 1048 1051 kbolt=1.3806504d-23 … … 1354 1357 & pp,M,gc,nl,nq,nlx) 1355 1358 IMPLICIT NONE 1359 #include "dimensions.h" 1356 1360 INTEGER :: nl,nq,nlx,il,nn,iP 1357 1361 INTEGER,DIMENSION(1) :: indP … … 1359 1363 REAL*8,DIMENSION(nl) :: Z,P,T 1360 1364 REAL*8,DIMENSION(nl,nq) :: Q,Nk,Rk 1361 REAL,DIMENSION(nq ) :: M1365 REAL,DIMENSION(nqmx) :: M 1362 1366 REAL*8,DIMENSION(nq) :: nNew 1363 1367 REAL*8,DIMENSION(nlx) :: pp,tt,tnew … … 1447 1451 & ,pp,M,gc,nl,nq,nlx,facM) 1448 1452 IMPLICIT NONE 1453 #include "dimensions.h" 1449 1454 INTEGER :: nl,nq,nlx,il,nn,iP 1450 1455 INTEGER,DIMENSION(1) :: indP … … 1452 1457 REAL*8,DIMENSION(nl) :: Z,P,T 1453 1458 REAL*8,DIMENSION(nl,nq) :: Q,Nk,Rk 1454 REAL,DIMENSION(nq ) :: M1459 REAL,DIMENSION(nqmx) :: M 1455 1460 REAL*8,DIMENSION(nq) :: nNew 1456 1461 REAL*8,DIMENSION(nlx) :: pp,rhonew,tt,tnew
Note: See TracChangeset
for help on using the changeset viewer.