Changeset 398
- Timestamp:
- 05/12/00 10:49:15 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Reflector/attenu.f
r292 r398 39 39 real trr, trm, tro 40 40 REAL LONG(12) 41 c fs define obervation level 42 double precision obslev 41 43 INTEGER I,CON_OZ,CON_MI J, ROW 42 44 … … 275 277 DATA BATM / 1222.6562D0,1144.9069D0,1305.5948D0,540.1778D0,0.D0 / 276 278 DATA CATM / 994186.38D0,878153.55D0,636143.04D0,772170.16D0,1.D-9/ 277 DATA LAHG / 2000.0D2,4.0D5,1.0D6,4.0D6,1.0D7 / 279 c fs 190400 unterster Layer ist 2200.d0 (observation level) 280 c DATA LAHG / 2000.0D2,4.0D5,1.0D6,4.0D6,1.0D7 / 281 DATA LAHG / 2200.0D2,4.0D5,1.0D6,4.0D6,1.0D7 / 278 282 DATA Lm /3.70D5,3.85D5,4.0D5,4.17D5,4.17D5,4.35D5,5.0D5,5.56D5, 279 283 + 5.99D5,6.33D5, 6.67D5,7.04D5 / … … 292 296 + 650.0 / 293 297 DATA PI / 3.141592654D0 / 294 PARAMETER (RT=6348.0D5) 298 c fs 191999: take same Earth radius as in CORSIKA 299 c PARAMETER (RT=6348.0D5) 300 parameter (rt = 6371315.D2) 295 301 296 302 *********************************************************************** … … 302 308 *********************************************************************** 303 309 304 310 c fs observation level at La Palma 311 parameter (obslev = 2200.d2) 312 305 313 T_Ray = 1.0 306 314 T_Mie = 1.0 307 315 T_Oz = 1.0 308 316 309 H = -RT + SQRT(RT**2 + (height/COS(theta))**2 + 310 + (2.0D0*RT*height)) 311 312 ROW = AINT(((H+1.)/1.0E5)) 317 c fs : hier fehler: hoehe mit obslev = 0. !!!! 318 c H = -RT + SQRT(RT**2 + (height/COS(theta))**2 + 319 c + (2.0D0*RT*height)) 320 h = -rt + sqrt((rt+obslev)**2 + 321 + ((height-obslev)/cos(theta))**2 + 322 + (2.0d0*(rt+obslev)*(height-obslev))) 323 324 ROW = AINT(((H+1.)/1.0E5)) 313 325 314 326 *********************************************************************** … … 316 328 * LARGE ZENITH ANGLE FACTOR (AIR MASS): 317 329 318 319 m= (1.D0/H)*(SQRT((RT*COS(theta))**2+(2*RT*H)+H**2)- 320 + (RT*COS(theta))) 330 c fs : Korrekturfaktor fuer falsche Hoehe richtig??? 331 c (H is hier 'wahre Hoehe'; oben: height: apparent height) 332 c aber: fuer curved-version nicht noetig => raus 333 c m= (1.D0/H)*(SQRT((RT*COS(theta))**2+(2*RT*H)+H**2)- 334 c + (RT*COS(theta))) 321 335 ********************************************************************** 322 336 … … 341 355 ENDIF 342 356 91 CONTINUE 343 344 92 RHO_FI = m*RHOTOT 357 358 c fs : curved-version => kein m-Faktor! 359 c 92 RHO_FI = m*RHOTOT 360 92 rho_fi = rhotot 345 361 346 362 T_Ray = EXP(-(RHO_FI/XR)*(400.D0/wavelength)**4) … … 379 395 GOTO 1001 380 396 ENDIF 381 T_Mie = EXP(-(m*TOT_AE)) 397 c fs : curved-version => kein m-Faktor! 398 c T_Mie = EXP(-(m*TOT_AE)) 399 t_mie = exp(-(tot_ae)) 382 400 383 401 … … 404 422 GOTO 2001 405 423 ENDIF 406 407 T_Oz = EXP(-(m*TOT_OZ)) 424 425 c fs : curved-version => kein m-Faktor! 426 c T_Oz = EXP(-(m*TOT_OZ)) 427 t_oz = exp(-(tot_oz)) 408 428 409 429 ************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.