Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix two bugs in iaea_phsp_source #323

Merged
merged 1 commit into from
Aug 18, 2017
Merged

Fix two bugs in iaea_phsp_source #323

merged 1 commit into from
Aug 18, 2017

Commits on Aug 18, 2017

  1. Fix array size and latch bugs in iaea_phsp_source

    Initialize "extra" arrays with a fixed dimension MAXEXTRAS. Arrays
    extrafloat_type, extralong_types, extrainttemp, and extrafloattemp were
    initialized with zero dimension when the IAEA phsp did not store
    additional integers (e.g., latch) or floats (e.g., zlast) for each
    particle.
    
    Set latch to 0, similar to what is done in egs_phsp_source. Source had
    the temerity to actually assign any latch value read from the phsp file
    to the incident particle, not realizing that, at least in the case of
    egs_chamber, this variable is used for setting the splitting number.
    This partially fixes Issue #314 reported by @ojalaj.
    blakewalters authored and ftessier committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    d85053b View commit details
    Browse the repository at this point in the history