Changeset 1576 for trunk/LMDZ.MARS
- Timestamp:
- Jul 27, 2016, 11:14:41 AM (9 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r1573 r1576 2312 2312 package (directory phymars) must be done in the related phymars/iniphysiq 2313 2313 routine. 2314 2315 == 27/07/2016 == EM 2316 - further cleanup in the dynamics/physics interface: stop sending information 2317 about tracer advection (tracerdyn) back from physics to dynamics as this 2318 input parameter can be read and set in the dynamics. -
trunk/LMDZ.MARS/libf/dyn3d/gcm.F
r1543 r1576 1 1 PROGRAM gcm 2 2 3 use ioipsl_getincom, only: getin 3 4 use infotrac, only: iniadvtrac, nqtot, iadv 4 5 use control_mod, only: day_step, iperiod, iphysiq, ndynstep, … … 129 130 character*80 abort_message 130 131 131 LOGICAL tracer 132 data tracer/.true./ 133 ! INTEGER nq 134 132 ! flag to run with or without tracer transport (read from run.def) 133 logical tracer 134 135 135 C Calendrier 136 136 LOGICAL true_calendar … … 161 161 c----------------------------------------------------------------------- 162 162 CALL defrun_new( 99, .TRUE. ) 163 WRITE(*,*) "" 164 WRITE(*,*) "Run with or without tracer transport ?" 165 tracer=.true. ! default value 166 call getin("tracer",tracer) 167 WRITE(*,*)" tracer = ",tracer 163 168 164 169 ! Initialize tracers … … 491 496 CALL calfis( nqtot, lafin ,rdayvrai,rday_ecri,time , 492 497 $ ucov,vcov,teta,q,masse,ps,p,pk,phis,phi , 493 $ du,dv,dteta,dq,w, dufi,dvfi,dhfi,dqfi,dpfi ,tracer)498 $ du,dv,dteta,dq,w, dufi,dvfi,dhfi,dqfi,dpfi) 494 499 495 500 -
trunk/LMDZ.MARS/libf/dynphy_lonlat/calfis.F
r1549 r1576 2 2 $ pucov,pvcov,pteta,pq,pmasse,pps,pp,ppk,pphis,pphi, 3 3 $ pducov,pdvcov,pdteta,pdq,pw, 4 $ pdufi,pdvfi,pdhfi,pdqfi,pdpsfi ,tracer)4 $ pdufi,pdvfi,pdhfi,pdqfi,pdpsfi ) 5 5 c 6 6 c Auteur : P. Le Van, F. Hourdin … … 56 56 c pdtsfi tendency for the surface temperature 57 57 c 58 c tracer Call tracer in gcm.F ? (decided in callphys.def)59 c60 58 c======================================================================= 61 59 c … … 103 101 REAL pdqfi(iip1,jjp1,llm,nq) 104 102 REAL pdpsfi(iip1,jjp1) 105 logical tracer106 103 107 104 c Local variables : … … 437 434 , flxwfi, 438 435 C - sorties 439 s zdufi, zdvfi, zdtfi, zdqfi,zdpsrf ,tracer)436 s zdufi, zdvfi, zdtfi, zdqfi,zdpsrf) 440 437 441 438 -
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/callphysiq_mod.F90
r1549 r1576 16 16 zufi_omp,zvfi_omp,zrfi_omp,ztfi_omp,zqfi_omp, & 17 17 flxwfi_omp,pducov, & 18 zdufi_omp,zdvfi_omp,zdtfi_omp,zdqfi_omp,zdpsrf_omp,& 19 tracerdyn) 18 zdufi_omp,zdvfi_omp,zdtfi_omp,zdqfi_omp,zdpsrf_omp) 20 19 21 20 USE control_mod, ONLY: planet_type … … 52 51 REAL,INTENT(OUT) :: zdqfi_omp(klon,llm,nqtot) ! tendency on tracers 53 52 REAL,INTENT(OUT) :: zdpsrf_omp(klon) ! tendency on surface pressure 54 LOGICAL,INTENT(OUT) :: tracerdyn55 53 56 54 ! Local variables … … 89 87 zdtfi_omp, & ! pdt 90 88 zdqfi_omp, & ! pdq 91 zdpsrf_omp, & ! pdpsrf 92 tracerdyn) ! tracerdyn (somewhat obsolete) 89 zdpsrf_omp) ! pdpsrf 93 90 94 91 -
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F
r1550 r1576 109 109 INTEGER ierr, aslun 110 110 REAL tmp1(0:nlayer),tmp2(0:nlayer) 111 Logical tracerdyn112 111 integer :: nq=1 ! number of tracers 113 112 real :: latitude(1), longitude(1), cell_area(1) … … 753 752 , w, 754 753 C - outputs 755 s du, dv, dtemp, dq,dpsurf ,tracerdyn)754 s du, dv, dtemp, dq,dpsurf) 756 755 ! write(*,*) "testphys1d apres q", q(1,:) 757 756 -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r1549 r1576 12 12 $ ,pu,pv,pt,pq 13 13 $ ,flxw 14 $ ,pdu,pdv,pdt,pdq,pdpsrf ,tracerdyn)14 $ ,pdu,pdv,pdt,pdq,pdpsrf) 15 15 16 16 use tracer_mod, only: noms, mmol, igcm_co2, igcm_n2, … … 146 146 c pdq(ngrid,nlayer,nq) | 147 147 c pdpsrf(ngrid) | 148 c tracerdyn call tracer in dynamical part of GCM ?149 148 150 149 c … … 191 190 REAL,INTENT(out) :: pdq(ngrid,nlayer,nq) ! tracer tendencies (../kg/s) 192 191 REAL,INTENT(out) :: pdpsrf(ngrid) ! surface pressure tendency (Pa/s) 193 LOGICAL,INTENT(out) :: tracerdyn ! signal to the dynamics to advect tracers or not194 192 195 193 … … 434 432 c initialize tracers 435 433 c ~~~~~~~~~~~~~~~~~~ 436 tracerdyn=tracer437 434 IF (tracer) THEN 438 435 CALL initracer(ngrid,nq,qsurf)
Note: See TracChangeset
for help on using the changeset viewer.