Changeset 1431 for trunk/MagicSoft/Simulation/Detector/ReflectorII/attenu.f
- Timestamp:
- 07/24/02 15:36:10 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/ReflectorII/attenu.f
r725 r1431 360 360 x4 = sqrt((2. * h + rt) / (2. * hscale)) 361 361 362 c-- AM Dec 2001, to avoid crash! A few photons seem to be "corrupted" 363 c-- (have absurd value) in a cer file... 364 365 if (abs(x3-x4) .lt. 1.e-10) then 366 tr_atmos = -1. 367 RETURN 368 endif 369 370 362 371 e1 = derfc(x1) 363 372 e2 = derfc(x2) … … 366 375 367 376 m = exp(-Rsin2 / (2. * hscale)) * ((e1 - e2) / (e3 - e4)) 377 368 378 369 379 ********************************************************************** … … 442 452 443 453 CON_OZ = 2 454 444 455 2001 IF (LONG(CON_OZ).GT.wavelength) THEN 445 A = (OZ_ABI(ROW,CON_OZ)-OZ_ABI(ROW,CON_OZ-1))/456 A = (OZ_ABI(ROW,CON_OZ)-OZ_ABI(ROW,CON_OZ-1))/ 446 457 + (LONG(CON_OZ) - LONG(CON_OZ-1)) 447 458 B = OZ_ABI(ROW,CON_OZ) - (A*LONG(CON_OZ))
Note:
See TracChangeset
for help on using the changeset viewer.