Changeset 804
- Timestamp:
- Oct 10, 2012, 12:19:55 PM (12 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/aeropacity.F90
r787 r804 137 137 aerosol(1:ngrid,1:nlayermx,iaer)=0.0 138 138 ! 2. Opacity calculation 139 if (noaero) then ! aerosol set to a very low value140 aerosol(1:ngrid,1:nlayermx,iaer)= 1.e-9139 if (noaero) then ! aerosol set to zero 140 aerosol(1:ngrid,1:nlayermx,iaer)=0.0 141 141 elseif (aerofixco2.or.(i_co2ice.eq.0)) then ! CO2 ice cloud prescribed 142 142 aerosol(1:ngrid,1:nlayermx,iaer)=1.e-9 -
trunk/LMDZ.GENERIC/libf/phystd/gfluxi.F
r543 r804 67 67 68 68 DO L=1,L_NLAYRAD-1 69 70 !---------------------------------------------------- 71 ! There is a problem when W0 = 1 72 ! open(888,file='W0') 73 ! if ((W0(L).eq.0.).or.(W0(L).eq.1.)) then 74 ! write(888,*) W0(L), L, 'gfluxi' 75 ! endif 76 ! Prevent this with an if statement: 77 if (W0(L).eq.1.) then 78 W0(L) = 0.99999 79 endif 80 !---------------------------------------------------- 81 69 82 ALPHA(L) = SQRT( (1.0-W0(L))/(1.0-W0(L)*COSBAR(L)) ) 70 83 LAMDA(L) = ALPHA(L)*(1.0-W0(L)*COSBAR(L))/UBARI … … 82 95 83 96 L = L_NLAYRAD 97 98 if (W0(L).eq.1.) then 99 W0(L) = 0.99999 100 end if 101 84 102 ALPHA(L) = SQRT( (1.0-W0(L))/(1.0-W0(L)*COSBAR(L)) ) 85 103 LAMDA(L) = ALPHA(L)*(1.0-W0(L)*COSBAR(L))/UBARI -
trunk/LMDZ.GENERIC/libf/phystd/inifis.F
r787 r804 449 449 call getin("satval",satval) 450 450 write(*,*)" satval = ",satval 451 452 ! Test of incompatibility:453 ! if no tracers, then the variable aerosols should be turned off454 if ((.not.tracer).and.(.not.aerofixco2)) then455 print*,'if tracers are off, you must turn aerofixco2 on.'456 print*, '(i.e., you must fix the aerosol distribution)'457 print*, 'This option was formerly known as aerofixed'458 stop459 endif460 if ((.not.tracer).and.(.not.aerofixh2o)) then461 print*,'if tracers are off, you must turn aerofixh2o on.'462 print*, '(i.e., you must fix the aerosol distribution)'463 print*, 'This option was formerly known as aerofixed'464 stop465 endif466 451 467 452 -
trunk/LMDZ.GENERIC/libf/phystd/physiq.F90
r787 r804 451 451 if (firstcall) then 452 452 453 print*,'FIRSTCALL INITIALIZATION'454 455 453 !! this is defined in comsaison_h 456 454 ALLOCATE(mu0(ngrid)) … … 598 596 ! need epsi for the wvp definitions in callcorrk.F 599 597 600 print*,'end FIRSTCALL INITIALIZATION'601 602 598 endif ! (end of "if firstcall") 603 599 … … 605 601 ! 1.2 Initializations done at every physical timestep: 606 602 ! --------------------------------------------------- 607 608 print*,'ALL INITIALIZATION'609 603 610 604 ! Initialize various variables … … 660 654 enddo 661 655 enddo 662 663 print*,'end ALL INITIALIZATION'664 656 665 657 !----------------------------------------------------------------------- … … 828 820 !------------------------- 829 821 830 print*,'end RADIATIVE TRANSFER'831 822 endif ! of if (callrad) 832 823 … … 996 987 !------------------------- 997 988 998 print*,'end CONVADJ'999 989 endif ! of if(calladj) 1000 990 … … 1008 998 call abort 1009 999 endif 1010 print*, 'we are in co2cond!!!!!'1011 1000 call condense_cloud(ngrid,nlayer,nq,ptimestep, & 1012 1001 capcal,pplay,pplev,tsurf,pt, & -
trunk/LMDZ.GENERIC/libf/phystd/suaer_corrk.F90
r726 r804 101 101 ! Please also choose the reference wavelengths of each aerosol 102 102 103 if (noaero) then 104 print*, 'naerkind= 0' 105 endif 103 106 do iaer=1,naerkind 104 if (iaer.eq.iaero_co2) then107 if (iaer.eq.iaero_co2) then 105 108 forgetit=.true. 106 print*, 'naerkind= co2', iaer 107 109 if (.not.noaero) then 110 print*, 'naerkind= co2', iaer 111 end if 108 112 ! visible 109 113 if(forgetit)then
Note: See TracChangeset
for help on using the changeset viewer.