Changeset 286 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Sep 8, 2011, 2:59:48 PM (13 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq.F
r285 r286 341 341 c variables set to 0 342 342 c ~~~~~~~~~~~~~~~~~~ 343 call zerophys(ngrid*nlayer*naerkind,aerosol)344 call zerophys(ngrid*nlayer,dtrad)345 call zerophys(ngrid,fluxrad)343 aerosol(:,:,:)=0 344 dtrad(:,:)=0 345 fluxrad(:)=0 346 346 347 347 wmax_th(:)=0. … … 368 368 369 369 write (*,*) 'In physiq day_ini =', day_ini 370 371 c initialize tracers 372 c ~~~~~~~~~~~~~~~~~~ 373 tracerdyn=tracer 374 IF (tracer) THEN 375 CALL initracer(qsurf,co2ice) 376 ENDIF ! end tracer 370 377 371 378 c Initialize albedo and orbital calculation … … 389 396 icount=1 390 397 391 392 c initialize tracers393 c ~~~~~~~~~~~~~~~~~~394 tracerdyn=tracer395 IF (tracer) THEN396 CALL initracer(qsurf,co2ice)397 ENDIF ! end tracer398 399 !#ifdef MESOSCALE400 !#include "meso_inc/meso_inc_caps.F"401 !#endif402 403 398 #ifndef MESOSCALE 404 399 c Initialize thermospheric parameters … … 440 435 c Initialize various variables 441 436 c ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 call zerophys(ngrid*nlayer, pdv)443 call zerophys(ngrid*nlayer, pdu)444 call zerophys(ngrid*nlayer, pdt)445 call zerophys(ngrid*nlayer*nq, pdq)446 call zerophys(ngrid, pdpsrf)447 call zerophys(ngrid, zflubid)448 call zerophys(ngrid, zdtsurf)449 call zerophys(ngrid*nq, dqsurf)437 pdv(:,:)=0 438 pdu(:,:)=0 439 pdt(:,:)=0 440 pdq(:,:,:)=0 441 pdpsrf(:)=0 442 zflubid(:)=0 443 zdtsurf(:)=0 444 dqsurf(:,:)=0 450 445 igout=ngrid/2+1 451 446 … … 553 548 c Outputs for basic check (middle of domain) 554 549 c ------------------------------------------ 555 print*, ' check lat lon', lati(igout)*180/pi,556 . long(igout)*180/pi557 print*, 'Ls =',zls*180./pi558 print*, 'tauref(700 Pa) =',tauref(igout) 559 print*, 'tau(700 Pa) =',tau(igout,1)*700./pplev(igout,1)550 print*, 'Ls =',zls*180./pi, 551 & 'check lat lon', lati(igout)*180/pi, 552 & long(igout)*180/pi 553 print*, 'tauref(700 Pa) =',tauref(igout), 554 & ' tau(700 Pa) =',tau(igout,1)*700./pplev(igout,1) 560 555 561 556 c --------------------------------------------------------- … … 601 596 c CO2 near infrared absorption 602 597 c ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 603 call zerophys(ngrid*nlayer,zdtnirco2)598 zdtnirco2(:,:)=0 604 599 if (callnirco2) then 605 600 call nirco2abs (ngrid,nlayer,pplay,dist_sol, … … 686 681 ENDDO 687 682 688 CALL zerophys(ngrid*nlayer,zdum1)689 CALL zerophys(ngrid*nlayer,zdum2)683 zdum1(:,:)=0 684 zdum2(:,:)=0 690 685 do l=1,nlayer 691 686 do ig=1,ngrid … … 832 827 ENDDO 833 828 ENDDO 834 CALL zerophys(ngrid*nlayer,zduadj)835 CALL zerophys(ngrid*nlayer,zdvadj)836 CALL zerophys(ngrid*nlayer,zdhadj)829 zduadj(:,:)=0 830 zdvadj(:,:)=0 831 zdhadj(:,:)=0 837 832 838 833 CALL convadj(ngrid,nlayer,nq,ptimestep, … … 1279 1274 if (water) then 1280 1275 1281 call zerophys(ngrid,mtot)1282 call zerophys(ngrid,icetot)1283 call zerophys(ngrid,rave)1284 call zerophys(ngrid,tauTES)1276 mtot(:)=0 1277 icetot(:)=0 1278 rave(:)=0 1279 tauTES(:)=0 1285 1280 do ig=1,ngrid 1286 1281 do l=1,nlayermx … … 1500 1495 1501 1496 ! Compute co2 column 1502 c all zerophys(ngrid,co2col)1497 co2col(:)=0 1503 1498 do l=1,nlayermx 1504 1499 do ig=1,ngrid -
trunk/LMDZ.MARS/libf/phymars/surfini.F
r285 r286 232 232 do iq=1,nqmx 233 233 c if there is frost and surface albedo is set to albedo_h2o_ice 234 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!235 !!!! AS: problem initracer has not been called yet236 !!!! noms(iq) has no information237 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!238 234 if(noms(iq).eq."h2o_ice") then 239 235 do ig=1,ngrid
Note: See TracChangeset
for help on using the changeset viewer.