- Timestamp:
- Jul 2, 2020, 3:42:28 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2384 r2385 3721 3721 3722 3722 ENDIF ! hdo 3723 write(*,*)'ok'3724 if (co2clouds) then3725 write(*,*)'i am here'3726 call WRITEDIAGFI(ngrid,'mtotco2',3727 & 'total mass of CO2, including ice surf',3728 & 'kg/m2',1,mtotco2)3729 3730 call WRITEDIAGFI(ngrid,'vaptotco2',3731 & 'total mass of CO2 vapor',3732 & 'kg/m2',1,vaptotco2)3733 3734 call WRITEDIAGFI(ngrid,'icetotco2',3735 & 'total mass of CO2 ice',3736 & 'kg/m2',1,icetotco2)3737 end if3738 co2totB = 0. ! added by C.M.3739 do ig=1,ngrid3740 do l=1,nlayer3741 co2totB = co2totB + (zplev(ig,l)-zplev(ig,l+1))/g*3742 & (pq(ig,l,igcm_co2)+pq(ig,l,igcm_co2_ice)3743 & +(pdq(ig,l,igcm_co2)+pdq(ig,l,igcm_co2_ice))*ptimestep)3744 enddo3745 co2totB = co2totB + co2ice(ig)3746 enddo3747 3748 call WRITEDIAGFI(ngrid,'co2conservation',3749 & 'Total CO2 mass conservation in physic',3750 & '%',1,(co2totA-co2totB)/co2totA)3751 call test_vmr(pq(:,:,igcm_co2), pdq(:,:,igcm_co2), ptimestep,3752 & ngrid, nlayer, 'end physiq_mod')3753 3723 3754 3724 call WRITEDIAGFI(ngrid,"rice","ice radius","m",1,
Note: See TracChangeset
for help on using the changeset viewer.