Ignore:
Timestamp:
07/24/02 15:36:10 (22 years ago)
Author:
bigongia
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/ReflectorII/attenu.f

    r725 r1431  
    360360      x4 = sqrt((2. * h      + rt)    / (2. * hscale))
    361361
     362c--   AM Dec 2001, to avoid crash! A few photons seem to be "corrupted"
     363c--    (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
    362371      e1 = derfc(x1)
    363372      e2 = derfc(x2)
     
    366375
    367376      m = exp(-Rsin2 / (2. * hscale)) * ((e1 - e2) / (e3 - e4))
     377
    368378
    369379**********************************************************************   
     
    442452
    443453      CON_OZ = 2
     454
    444455 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))/
    446457     +        (LONG(CON_OZ) - LONG(CON_OZ-1))
    447458         B = OZ_ABI(ROW,CON_OZ) - (A*LONG(CON_OZ))
Note: See TracChangeset for help on using the changeset viewer.