Changeset 2544 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Jul 8, 2021, 3:54:30 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2541 r2544 516 516 pdq(:,:,:) = 0. 517 517 518 519 518 c 1. Initialisation: 520 519 c ----------------- … … 700 699 call physdem0("restartfi.nc",longitude,latitude, 701 700 & nsoilmx,ngrid,nlayer,nq, 702 & ptimestep,pday, time_phys,cell_area,701 & ptimestep,pday,0.,cell_area, 703 702 & albedodat,inertiedat,zmea,zstd,zsig,zgam,zthe, 704 703 & hmons,summit,base) … … 706 705 call physdem0("restartfi.nc",longitude,latitude, 707 706 & nsoilmx,ngrid,nlayer,nq, 708 & ptimestep,float(day_end), time_phys,cell_area,707 & ptimestep,float(day_end),0.,cell_area, 709 708 & albedodat,inertiedat,zmea,zstd,zsig,zgam,zthe, 710 709 & hmons,summit,base) … … 754 753 #ifdef CPP_XIOS 755 754 ! update XIOS time/calendar 756 call update_xios_timestep 757 #endif 755 call update_xios_timestep 756 #endif 757 758 758 759 759 760 c Initialize various variables … … 1246 1247 & pdqtop,wtop,dsodust,dsords,dsotop, 1247 1248 & tau_pref_scenario,tau_pref_gcm) 1248 1249 1249 1250 1250 c update the tendencies of both dust after vertical transport … … 1558 1558 & nq,tau,tauscaling,rdust,rice,nuice, 1559 1559 & rsedcloud,rhocloud,totcloudfrac) 1560 1561 1560 c Temperature variation due to latent heat release 1562 1561 if (activice) then … … 1662 1661 & rhocloud, rsedcloudco2,rhocloudco2,zzlev,zdqssed_co2, 1663 1662 & pdu,pu,zcondicea_co2microp, co2ice) 1664 1665 1663 1666 1664 c Temperature variation due to latent heat release … … 1867 1865 $ zdqcloud,zdqscloud,tau(:,1),co2ice, 1868 1866 $ pu,pdu,pv,pdv,surfdust,surfice) 1869 1870 1867 endif ! of if (modulo(icount-1,ichemistry).eq.0) 1871 1868 … … 2338 2335 2339 2336 if (ecritstart.GT.0) then !IF MULTIPLE RESTARTS nothing change 2340 ztime_fin = pday + ptime + ptimestep/(float(iphysiq)*daysec)2341 . - day_ini - time_phys2337 ztime_fin = pday - day_ini + ptime 2338 . + ptimestep/(float(iphysiq)*daysec) 2342 2339 else !IF ONE RESTART final time in top of day_end 2343 ztime_fin = pday + ptime + ptimestep/(float(iphysiq)*daysec)2344 . - day_ini - time_phys-(day_end-day_ini)2340 ztime_fin = pday - day_ini-(day_end-day_ini) 2341 . + ptime + ptimestep/(float(iphysiq)*daysec) 2345 2342 endif 2346 2343 … … 3888 3885 CALL send_xios_field("u",zu) 3889 3886 CALL send_xios_field("v",zv) 3887 3890 3888 !CREATE IF CO2CYCLE 3891 !if (tracer.and.(igcm_co2.ne.0)) then 3892 ! CALL send_xios_field("co2",zq(1,1,igcm_co2)) 3893 !endif 3894 3889 if (tracer.and.(igcm_co2.ne.0)) then 3890 CALL send_xios_field("co2",zq(:,:,igcm_co2)) 3891 endif 3895 3892 3896 3893 if (lastcall.and.is_omp_master) then
Note: See TracChangeset
for help on using the changeset viewer.