Changeset 304
- Timestamp:
- Sep 22, 2011, 1:52:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/sugas_corrk.F90
r253 r304 47 47 integer ngas, igas 48 48 49 ! temporary special for addh2 50 double precision testH2 49 double precision testcont ! for continuum absorption initialisation 51 50 52 51 !======================================================================= … … 120 119 print*,'Name of a gas in radiative transfer data (',gastype(n),') does not', & 121 120 'match that in gases.def (',gnom(n),'), exiting.' 121 call abort 122 122 endif 123 123 enddo … … 294 294 do nw=1,L_NSPECTI 295 295 fzeroi(nw) = 0. 296 end do 296 ! do nt=1,L_NTREF 297 ! do np=1,L_NPREF 298 ! do nh=1,L_REFVAR 299 ! do ng = 1,L_NGAUSS 300 ! if(gasi8(nt,np,nh,nw,ng).lt.1.0e-25)then 301 ! fzeroi(nw)=fzeroi(nw)+1. 302 ! endif 303 ! end do 304 ! end do 305 ! end do 306 ! end do 307 ! fzeroi(nw)=fzeroi(nw)/dble(L_NTREF*L_NPREF*L_REFVAR*L_NGAUSS) 308 end do 309 310 do nw=1,L_NSPECTV 311 fzerov(nw) = 0. 312 ! do nt=1,L_NTREF 313 ! do np=1,L_NPREF 314 ! do nh=1,L_REFVAR 315 ! do ng = 1,L_NGAUSS 316 ! if(gasv8(nt,np,nh,nw,ng).lt.1.0e-25)then 317 ! fzerov(nw)=fzerov(nw)+1. 318 ! endif 319 ! end do 320 ! end do 321 ! end do 322 ! end do 323 ! fzerov(nw)=fzerov(nw)/dble(L_NTREF*L_NPREF*L_REFVAR*L_NGAUSS) 324 end do 325 326 297 327 do nw=1,L_NSPECTV 298 328 fzerov(nw) = 0. … … 473 503 end do 474 504 505 506 475 507 do igas=1,ngasmx 476 508 if(gnom(igas).eq.'H2_')then 477 call interpolateH2H2(500.D+0,250.D+0,17500.D+0,testH2,.true.) 509 call interpolateH2H2(500.D+0,250.D+0,17500.D+0,testcont,.true.) 510 elseif(gnom(igas).eq.'H2O')then 511 call interpolateH2Ocont(990.D+0,296.D+0,683.2D+0*2,0.D+0,testcont,.true.) 478 512 endif 479 513 enddo 480 514 481 482 515 return 483 516 end subroutine sugas_corrk
Note: See TracChangeset
for help on using the changeset viewer.