Changeset 1038 for trunk/LMDZ.MARS/libf
- Timestamp:
- Sep 13, 2013, 4:01:10 PM (12 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dustlift.F
r1036 r1038 3 3 $ dqslift) 4 4 5 #ifndef MESOSCALE 5 6 use tracer_mod, only: alpha_lift, radius 7 #else 8 use tracer_mod, only: alpha_lift, radius, 9 & igcm_dust_mass, igcm_dust_number, 10 & ref_r0,r3n_q 11 #endif 6 12 IMPLICIT NONE 7 13 -
trunk/LMDZ.MARS/libf/phymars/initracer.F
r1036 r1038 1 1 SUBROUTINE initracer(ngrid,nq,qsurf,co2ice) 2 2 3 #ifndef MESOSCALE 3 4 use infotrac, only: tnom 5 #endif 4 6 use tracer_mod 5 7 IMPLICIT NONE … … 61 63 62 64 ! Initialization: allocate arrays in tracer_mod 63 allocate(noms(nq))64 65 allocate(mmol(nq)) 65 66 allocate(radius(nq)) … … 70 71 allocate(igcm_dustbin(nq)) 71 72 73 #ifndef MESOSCALE 74 allocate(noms(nq)) 72 75 ! Initialization: get tracer names from the dynamics and check if we are 73 76 ! using 'old' tracer convention ('q01',q02',...) … … 94 97 noms(iq)=tnom(iq) 95 98 enddo 99 #endif 96 100 97 101 c------------------------------------------------------------ -
trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_ini.F
r315 r1038 39 39 40 40 !!!!!!!!!!!!!!!!! DONE in soil_setting.F 41 tnom(:)=wtnom(:) !! est rempli dans advtrac.h 42 PRINT*,'check: tracernames ', tnom 41 PRINT*,'MESOSCALE. how many tracers: ',nq 42 allocate(noms(nq)) !! est fait dans initracer normalement 43 noms(:)=wtnom(:) !! est rempli dans tracer_mod.F90 44 PRINT*,'check: tracernames ', noms 43 45 !!!new physics 44 46 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 48 50 PRINT*,'check: q2 ',q2(1,1),q2(ngridmx,nlayermx+1) 49 51 qsurf(:,:)=wqsurf(:,:) 50 PRINT*,'check: qsurf ',qsurf(1,1),qsurf(ngridmx,nq mx)52 PRINT*,'check: qsurf ',qsurf(1,1),qsurf(ngridmx,nq) 51 53 co2ice(:)=wco2ice(:) 52 54 PRINT*,'check: co2 ',co2ice(1),co2ice(ngridmx) … … 62 64 iphysiq=ptimestep 63 65 c 64 !DO iq=1, nq65 ! PRINT*, tnom(iq), pq(:,:,iq)66 !ENDDO67 66 68 67 c -
trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_inifisinvar.F
r315 r1038 1 $ , nq,wdt1 $ ,wdt 2 2 $ ,womeg,wmugaz 3 3 $ ,wyear_day,wperiheli,waphelie,wperi_day,wobliquit -
trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_inifisvar.F
r315 r1038 1 INTEGER nq2 1 REAL wdt 3 2 -
trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_var.F
r708 r1038 6 6 REAL wco2ice(ngridmx) 7 7 REAL wemis(ngridmx) 8 REAL wqsurf(ngridmx,nq mx)8 REAL wqsurf(ngridmx,nq) 9 9 REAL wq2(ngridmx,nlayermx+1) 10 10 REAL wwstar(ngridmx) … … 19 19 integer iloop 20 20 INTEGER tracerset !!! this corresponds to config%mars 21 CHARACTER (len=20) :: wtnom(nq mx) ! tracer name21 CHARACTER (len=20) :: wtnom(nq) ! tracer name 22 22 23 23 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! JF -
trunk/LMDZ.MARS/libf/phymars/physiq.F
r1036 r1038 18 18 & nuice_ref, rho_ice, rho_dust, ref_r0 19 19 20 #ifdef MESOSCALE21 use infotrac !!! this is necessary for tracers22 #endif23 20 IMPLICIT NONE 24 21 c======================================================================= … … 372 369 REAL, ALLOCATABLE, DIMENSION(:,:) :: T_out 373 370 REAL, ALLOCATABLE, DIMENSION(:,:) :: u_out ! Interpolated teta and u at z_out 374 !REAL u_out1(ngridmx)371 REAL u_out1(ngridmx) 375 372 REAL T_out1(ngridmx) 376 373 REAL, ALLOCATABLE, DIMENSION(:) :: z_out ! height of interpolation between z0 and z1 [meters] … … 1036 1033 ENDIF ! of IF (tracer) 1037 1034 1035 #ifndef MESOSCALE 1038 1036 ! update surface pressure 1039 1037 DO ig=1,ngrid … … 1058 1056 ENDDO 1059 1057 ENDDO 1058 #endif 1060 1059 1061 1060 ENDIF ! of IF (callcond)
Note: See TracChangeset
for help on using the changeset viewer.