Changeset 1576 for trunk/LMDZ.GENERIC
- Timestamp:
- Jul 27, 2016, 11:14:41 AM (8 years ago)
- Location:
- trunk/LMDZ.GENERIC
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r1573 r1576 1238 1238 package (directory phystd) must be done in the related phystd/iniphysiq 1239 1239 routine. 1240 1241 == 27/07/2016 == EM 1242 - further cleanup in the dynamics/physics interface: stop sending information 1243 about tracer advection (tracerdyn) back from physics to dynamics as this 1244 input parameter can be read and set in the dynamics. -
trunk/LMDZ.GENERIC/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 sponge_mod,only: callsponge,mode_sponge,sponge … … 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 … … 177 177 c----------------------------------------------------------------------- 178 178 CALL defrun_new( 99, .TRUE. ) 179 WRITE(*,*) "" 180 WRITE(*,*) "Run with or without tracer transport ?" 181 tracer=.true. ! default value 182 call getin("tracer",tracer) 183 WRITE(*,*)" tracer = ",tracer 179 184 180 185 ! Initialize tracers … … 479 484 CALL calfis( nqtot, lafin ,rdayvrai,rday_ecri,time , 480 485 $ ucov,vcov,teta,q,masse,ps,p,pk,phis,phi , 481 $ du,dv,dteta,dq,w, dufi,dvfi,dhfi,dqfi,dpfi ,tracer)486 $ du,dv,dteta,dq,w, dufi,dvfi,dhfi,dqfi,dpfi) 482 487 483 488 -
trunk/LMDZ.GENERIC/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 … … 106 104 REAL pdqfi(iip1,jjp1,llm,nqtot) 107 105 REAL pdpsfi(iip1,jjp1) 108 logical tracer109 106 110 107 c Local variables : … … 441 438 , flxwfi, 442 439 C - sorties 443 s zdufi, zdvfi, zdtfi, zdqfi,zdpsrf ,tracer)440 s zdufi, zdvfi, zdtfi, zdqfi,zdpsrf) 444 441 445 442 -
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/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 … … 90 88 zdtfi_omp, & ! pdt 91 89 zdqfi_omp, & ! pdq 92 zdpsrf_omp, & ! pdpsrf 93 tracerdyn) ! tracerdyn (somewhat obsolete) 90 zdpsrf_omp) ! pdpsrf 94 91 95 92 -
trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F
r1549 r1576 108 108 INTEGER ierr, aslun 109 109 REAL tmp1(0:llm),tmp2(0:llm) 110 Logical tracerdyn111 110 integer :: nq !=1 ! number of tracers 112 111 … … 906 905 , w, 907 906 C - sorties 908 s du, dv, dtemp, dq,dpsurf ,tracerdyn)907 s du, dv, dtemp, dq,dpsurf) 909 908 910 909 -
trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90
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 radinc_h, only : L_NSPECTI,L_NSPECTV,naerkind … … 132 132 ! pdq(ngrid,nlayer) / 133 133 ! pdpsrf(ngrid) / 134 ! tracerdyn call tracer in dynamical part of GCM ?135 134 ! 136 135 ! … … 195 194 real,intent(out) :: pdq(ngrid,nlayer,nq) ! Tracer tendencies (kg/kg_of_air/s). 196 195 real,intent(out) :: pdpsrf(ngrid) ! Surface pressure tendency (Pa/s). 197 logical,intent(out) :: tracerdyn ! Signal to the dynamics to advect tracers or not.198 196 199 197 ! Local saved variables: … … 517 515 ! Initialize tracer names, indexes and properties. 518 516 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 519 tracerdyn=tracer520 517 IF (.NOT.ALLOCATED(noms)) ALLOCATE(noms(nq)) ! (because noms is an argument of physdem1 whether or not tracer is on) 521 518 if (tracer) then
Note: See TracChangeset
for help on using the changeset viewer.