Changeset 1528 for trunk/LMDZ.MARS/libf/aeronomars
- Timestamp:
- Apr 2, 2016, 4:09:43 PM (9 years ago)
- Location:
- trunk/LMDZ.MARS/libf/aeronomars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/aeronomars/inichim_newstart.F90
r1422 r1528 4 4 use tracer_mod 5 5 USE comvert_mod, ONLY: aps,bps 6 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat, nbp_lev 6 7 implicit none 7 8 … … 26 27 ! ---------- 27 28 ! 28 ! pq( iip1,jjp1,llm,nq) Advected fields, ie chemical species here29 ! pq(nbp_lon+1,nbp_lat,nbp_lev,nq) Advected fields, ie chemical species here 29 30 ! qsurf(ngrid,nq) Amount of tracer on the surface (kg/m2) 30 ! ps( iip1,jjp1) Surface pressure (Pa)31 ! ps(nbp_lon+1,nbp_lat) Surface pressure (Pa) 31 32 ! flagh2o flag for initialisation of h2o (1: yes / 0: no) 32 33 ! flagthermo flag for initialisation of thermosphere only (1: yes / 0: no) … … 34 35 !======================================================================= 35 36 36 #include "dimensions.h" 37 #include "paramet.h" 38 #include "callkeys.h" 39 #include "datafile.h" 37 include "callkeys.h" 38 include "datafile.h" 40 39 41 40 ! inputs : … … 43 42 integer,intent(in) :: ngrid ! number of atmospheric columns in the physics 44 43 integer,intent(in) :: nq ! number of tracers 45 real,intent(in) :: ps( iip1,jjp1) ! surface pressure in the gcm (Pa)44 real,intent(in) :: ps(nbp_lon+1,nbp_lat) ! surface pressure in the gcm (Pa) 46 45 integer,intent(in) :: flagh2o ! flag for h2o initialisation 47 46 integer,intent(in) :: flagthermo ! flag for thermosphere initialisation only … … 49 48 ! outputs : 50 49 51 real,intent(out) :: pq( iip1,jjp1,llm,nq) ! advected fields, ie chemical species50 real,intent(out) :: pq(nbp_lon+1,nbp_lat,nbp_lev,nq) ! advected fields, ie chemical species 52 51 real,intent(out) :: qsurf(ngrid,nq) ! surface values (kg/m2) of tracers 53 52 … … 56 55 integer :: iq, i, j, l, n, nbqchem 57 56 integer :: count, ierr, dummy 58 real :: mmean( iip1,jjp1,llm) ! mean molecular mass (g)57 real :: mmean(nbp_lon+1,nbp_lat,nbp_lev) ! mean molecular mass (g) 59 58 real :: pgcm ! pressure at each layer in the gcm (Pa) 60 59 … … 547 546 ! 3. initialization of tracers 548 547 549 do i = 1, iip1550 do j = 1, jjp1551 do l = 1, llm548 do i = 1,nbp_lon+1 549 do j = 1,nbp_lat 550 do l = 1,nbp_lev 552 551 553 552 pgcm = aps(l) + bps(l)*ps(i,j) ! gcm pressure … … 596 595 if (igcm_ch4 /= 0) then 597 596 vmr = 10.e-9 598 do i = 1, iip1599 do j = 1, jjp1600 do l = 1, llm597 do i = 1,nbp_lon+1 598 do j = 1,nbp_lat 599 do l = 1,nbp_lev 601 600 pq(i,j,l,igcm_ch4) = vmr*mmol(igcm_ch4)/mmean(i,j,l) 602 601 end do … … 623 622 end if 624 623 625 do i = 1, iip1626 do j = 1, jjp1627 do l = 1, llm624 do i = 1,nbp_lon+1 625 do j = 1,nbp_lat 626 do l = 1,nbp_lev 628 627 ! all ions to 0 629 628 pq(i,j,l,igcm_co2plus) = 0. -
trunk/LMDZ.MARS/libf/aeronomars/moldiff_red.F90
r1431 r1528 7 7 implicit none 8 8 9 !#include "dimensions.h" 10 !#include "dimphys.h" 11 !#include "comcstfi.h" 12 !#include "callkeys.h" 13 !#include "comdiurn.h" 14 !#include "chimiedata.h" 15 !#include "tracer.h" 16 !#include "conc.h" 17 #include "diffusion.h" 9 include "diffusion.h" 18 10 19 11 ! July 2014 JYC ADD BALISTIC Transport coupling to compute wup for H and H2 … … 937 929 use tracer_mod, only: nqmx 938 930 IMPLICIT NONE 939 !#include "dimensions.h"940 931 941 932 INTEGER,INTENT(IN) :: nl,nq … … 973 964 use tracer_mod, only: nqmx 974 965 IMPLICIT NONE 975 !#include "dimensions.h"976 966 977 967 INTEGER :: nl,nq,l … … 1058 1048 use tracer_mod, only: nqmx 1059 1049 IMPLICIT NONE 1060 !#include "dimensions.h"1061 1050 1062 1051 INTEGER :: nl,nq,il,l,i,iq,nlx,iz,ig … … 1400 1389 use tracer_mod, only: nqmx 1401 1390 IMPLICIT NONE 1402 !#include "dimensions.h"1403 1391 INTEGER :: nl,nq,nlx,il,nn,iP,ig,compteur 1404 1392 INTEGER,DIMENSION(1) :: indP … … 1502 1490 use tracer_mod, only: nqmx 1503 1491 IMPLICIT NONE 1504 !#include "dimensions.h"1505 1492 INTEGER :: nl,nq,nlx,il,nn,iP,ig,compteur 1506 1493 INTEGER,DIMENSION(1) :: indP -
trunk/LMDZ.MARS/libf/aeronomars/surfacearea.F
r1266 r1528 19 19 !========================================================================== 20 20 21 #include "dimensions.h" 22 #include "callkeys.h" 23 #include "chimiedata.h" 21 include "callkeys.h" 22 include "chimiedata.h" 24 23 25 24 ! input
Note: See TracChangeset
for help on using the changeset viewer.