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

Add Seltzer-Berger interactor and kernel #241

Commits on May 24, 2021

  1. Add Seltzer-Berger interactor and kernel

    This commit adds the SB interactor and associated kernel method.
    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    253c7ac View commit details
    Browse the repository at this point in the history
  2. Update SeltzerBerger.cu

      * Initialize `material_view` near where first used
    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    5f50a68 View commit details
    Browse the repository at this point in the history
  3. Update SeltzerBergerInteractor.i.hh

      * `migdal` as `constexpr`, and use integer multiplication to
        prevent float->double conversion
    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    7fc6543 View commit details
    Browse the repository at this point in the history
  4. Update src/physics/em/detail/SeltzerBergerInteractor.hh

      * Make type aliases `public` and add doxygen mark-up
      * Remove unused `energy_val_max_`
    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    7fed6bd View commit details
    Browse the repository at this point in the history
  5. Update SB and interactor

      * Add ElementId class member to interactor and supply during
        instantiation of interactor in CUDA source
      * Remove assertion on minimum energy for interactor
      * Do not apply XS correction for positrons yet in interactor;
        to be integrated in energy distribution sampler
      * Remove `energy_val_min_` member from interactor (handled
        before interactor is constructed); instead, check incoming
        particle energy is sufficient to produce secondary at start
        of `operator()`
    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    90b5c13 View commit details
    Browse the repository at this point in the history
  6. Add TsaiUrbanDistribution and use in BH and SB interactors

    Used for sampling angular distributions in pair-production and
    bremsstrahlung processes (e.g. Seltzer-Berger and Bethe-Heitler
    models).
    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    71a3b94 View commit details
    Browse the repository at this point in the history
  7. Update SeltzerBergerInteractor interface and impl

      * Update class description and other comments
      * Remove photon angular sampler function (using instead common
        TsaiUrbanDistribution)
    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    73d1dfb View commit details
    Browse the repository at this point in the history
  8. Fix copy/paste error in Bethe-Heitler interactor

    Sampled electron angle twice. Fixed to sample positron.
    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    10ab4b5 View commit details
    Browse the repository at this point in the history
  9. Add TsaiUrbanDistribution test

    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    3e8470f View commit details
    Browse the repository at this point in the history
  10. Add missing header for MaterialView

    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    e42e86b View commit details
    Browse the repository at this point in the history
  11. Use "native" not "device" refs for SB interactor

    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    fa6d0f4 View commit details
    Browse the repository at this point in the history
  12. Update SB test

      * Use native pointers/refs
    
    \todo Fix issue with min_gamma_energy <= 0
    Vincent R. Pascuzzi committed May 24, 2021
    Configuration menu
    Copy the full SHA
    7baa083 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2021

  1. src/physics/em/detail/TsaiUrbanDistribution.hh

      * Explicitly mark public of type aliases and doxygen
    Vincent R. Pascuzzi committed May 25, 2021
    Configuration menu
    Copy the full SHA
    89b2b57 View commit details
    Browse the repository at this point in the history
  2. Update test/physics/em/TsaiUrbanDistribution.test.cc

      * EXPECT_VEC_SOFT_EQ for angle comparison with `double` type
    Vincent R. Pascuzzi committed May 25, 2021
    Configuration menu
    Copy the full SHA
    5850d53 View commit details
    Browse the repository at this point in the history
  3. Update TsaiUrbanDistribution

      * Store ratio energy [MeV] to mass [MevMass*c^2] instead
        of energy and mass separately
    Vincent R. Pascuzzi committed May 25, 2021
    Configuration menu
    Copy the full SHA
    88baf2a View commit details
    Browse the repository at this point in the history
  4. Better use of quantities; adapt SB and BH for TsaiUrbanDistr

    Vincent R. Pascuzzi committed May 25, 2021
    Configuration menu
    Copy the full SHA
    b990a17 View commit details
    Browse the repository at this point in the history
  5. Fix min_gamma_energy in CutoffView

    Vincent R. Pascuzzi committed May 25, 2021
    Configuration menu
    Copy the full SHA
    df527ba View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. Update src/physics/em/detail/SeltzerBergerInteractor.i.hh

      * `gamma_secondary` -> `secondaries` (for consistency)
      * Assign secondary energy
      * normalize incident particle outgoing direction
    Vincent R. Pascuzzi committed May 26, 2021
    Configuration menu
    Copy the full SHA
    ed36eda View commit details
    Browse the repository at this point in the history
  2. Update test/physics/em/SeltzerBerger.test.cc

      * Finalize 'basic' test
      * Add 'stress' test
    Vincent R. Pascuzzi committed May 26, 2021
    Configuration menu
    Copy the full SHA
    18608b3 View commit details
    Browse the repository at this point in the history