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 dbs to radiative splitting #974

Draft
wants to merge 58 commits into
base: develop
Choose a base branch
from

Commits on May 31, 2024

  1. First commit.

    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    3b51ec3 View commit details
    Browse the repository at this point in the history
  2. Commit no. 2

    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    2d05a10 View commit details
    Browse the repository at this point in the history
  3. Commit I think third.

    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    86f4c71 View commit details
    Browse the repository at this point in the history
  4. Commit 4.

    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    6eefb24 View commit details
    Browse the repository at this point in the history
  5. Commit n+1

    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    5f955a1 View commit details
    Browse the repository at this point in the history
  6. All required functions in egs_advanced_application.

    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    c4a4ed7 View commit details
    Browse the repository at this point in the history
  7. Trying to get it to compile.

    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    0191dae View commit details
    Browse the repository at this point in the history
  8. Compiles but hangs during run.

    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    f847359 View commit details
    Browse the repository at this point in the history
  9. Ensure latch bit 31 set to mark phat/non-phat particles.

    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    5ceb688 View commit details
    Browse the repository at this point in the history
  10. Include Rayleigh interactions and eliminate some

    debug output messages.
    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    9bf7b73 View commit details
    Browse the repository at this point in the history
  11. Need to figure out how to not require

    link to egs_advanced_appliction.o when
    compiling shared lib.
    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    61f325d View commit details
    Browse the repository at this point in the history
  12. Added output to Makefile.

    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    058308a View commit details
    Browse the repository at this point in the history
  13. Override key macros from egs_interface2.macros.

    Note: Currently does not work.  This commit
    is just to save recent changes.
    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    dec8b35 View commit details
    Browse the repository at this point in the history
  14. Forgot egs_radiative_splitting.macros file.

    Overrides key macros from egs_c_interface2.macros.
    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    f48ea09 View commit details
    Browse the repository at this point in the history
  15. Midway through changes to implement all

    required EGSnrc calls in egs_advanced_application.
    
    Also correcting some of the functions erroneously
    coded with np->np+1!
    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    a2e15ae View commit details
    Browse the repository at this point in the history
  16. Major changes including:

    1. Add calls to EGSnrc subroutines to egs_advanced_application
    2. Fix major bugs in DBS algorithm
    3. Introduce initializeData ausgab_object function.
    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    9458759 View commit details
    Browse the repository at this point in the history
  17. EGS_AdvancedAppliction::getParticleFromStack changed from void->EGS_P…

    …article.
    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    7dd7941 View commit details
    Browse the repository at this point in the history
  18. Forgot to add array_sizes.h

    This must also be copied into the application directory.
    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    293a399 View commit details
    Browse the repository at this point in the history
  19. Fixed a few bugs re:

    1. Not deleting top particle before doSmartCompton and
       split Rayleigh interactions
    2. Calculating nsample in doSmartCompton
    3. etc.
    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    906ca73 View commit details
    Browse the repository at this point in the history
  20. Add Ernesto's changes from 05/18/2021.

    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    616d3bd View commit details
    Browse the repository at this point in the history
  21. Eliminate array dimension macros from AO.

    These are now accessed throuh EGS_AdvancedApplication.
    
    Also disabled DRSf (BEAMnrc-style DRS) option.
    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    27d18d7 View commit details
    Browse the repository at this point in the history
  22. Fixed bugs in updateParticleOnStack and getParticleFromStack:

    Forgot to subtract 2 from ir before saving to the_stack.
    blakewalters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    0a6eadf View commit details
    Browse the repository at this point in the history
  23. Pass values to getRngAzimuth by reference.

    We are assigning these values in this function!
    
    This commit also includes some debug output
    statements in egsRadiativeSplitting.
    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    74b5e93 View commit details
    Browse the repository at this point in the history
  24. Fix incorrect updating of latch of initiating e- after brems.

    This bug led to incorrect particle information (including energy!)
    being assigned to the initiating e-.
    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    dd5d1e7 View commit details
    Browse the repository at this point in the history
  25. "Essential" debug statements.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    b5fb044 View commit details
    Browse the repository at this point in the history
  26. Fix calls to alias_sample1 and egs_rayleigh_sampling.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    e22d7b4 View commit details
    Browse the repository at this point in the history
  27. Another fix: Did not properly copy region no. over during Rayleigh sp…

    …litting.
    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    41d45ef View commit details
    Browse the repository at this point in the history
  28. Replaced app->isWhere(x) with irl=app->top_p.ir everywhere.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    5a5e7fc View commit details
    Browse the repository at this point in the history
  29. Debug statements.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    97a4389 View commit details
    Browse the repository at this point in the history
  30. Debug output.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    f4647cd View commit details
    Browse the repository at this point in the history
  31. Change $MXBRSPLIT back to default value.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    3228194 View commit details
    Browse the repository at this point in the history
  32. Put interacting particle on top of stack.

    In compton calling loop!
    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    13f3a58 View commit details
    Browse the repository at this point in the history
  33. Remove debug output.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    c6e6f27 View commit details
    Browse the repository at this point in the history
  34. Revert to develop versions of egsnrc.mortran, egs_application.cpp

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    c6fbdf5 View commit details
    Browse the repository at this point in the history
  35. Halfway to changing SmartCompton to use BEAMnrc implementation.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    b663d3f View commit details
    Browse the repository at this point in the history
  36. Make SmartCompton identical to BEAMnrc implementation...2nd commit.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    265f016 View commit details
    Browse the repository at this point in the history
  37. Changed SmartCompton to BEAMnrc implementation...1st crack.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    1d8cef0 View commit details
    Browse the repository at this point in the history
  38. More changes to doSmartCompton to match BEAMnrc implementation.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    b9fb2c9 View commit details
    Browse the repository at this point in the history
  39. Final changes to doSmartCompton to match BEAMnrc implementation.

    A couple of debug output statements.
    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    bbe2fdc View commit details
    Browse the repository at this point in the history
  40. Some debugging statements.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    f30144b View commit details
    Browse the repository at this point in the history
  41. Likely some debug statements.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    682f922 View commit details
    Browse the repository at this point in the history
  42. Ooops, introduced bug in BEAMnrc implementation of SmartCompton.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    ee747a7 View commit details
    Browse the repository at this point in the history
  43. Remove debug stop from egs_phsp_scoring.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    07901a2 View commit details
    Browse the repository at this point in the history
  44. Get rid of commented out debug statement.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    4fe6a53 View commit details
    Browse the repository at this point in the history
  45. Revert to default value of $MAXBRSPLIT.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    0bf67af View commit details
    Browse the repository at this point in the history
  46. Get rid of repeat definition of getNp().

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    189bf10 View commit details
    Browse the repository at this point in the history
  47. Fixed bug in doSmartBrems latch setting.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    eb03a95 View commit details
    Browse the repository at this point in the history
  48. Implement beampp version of doSmartCompton.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    671bcdb View commit details
    Browse the repository at this point in the history
  49. Fixed bug setting region no. for phat photon in doSmartCompton.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    aff3a1e View commit details
    Browse the repository at this point in the history
  50. Mid debug 12/05/2023.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    79ed4c4 View commit details
    Browse the repository at this point in the history
  51. Restore functionality after debug.

    Fix what I think was bug in killThePhotons.
    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    b43a33f View commit details
    Browse the repository at this point in the history
  52. Subject all nonphat photons to RR before interacting.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    5e425f0 View commit details
    Browse the repository at this point in the history
  53. Fix sampling indices in doSmartBrems.

    Also, capture mid-debug.
    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    d54adf5 View commit details
    Browse the repository at this point in the history
  54. Rename some variables. A bit of cleanup.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    b164dac View commit details
    Browse the repository at this point in the history
  55. Small changes, plus disable smartCompton.

    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    3fb4dc3 View commit details
    Browse the repository at this point in the history
  56. Latest fixes including eliminate unnecessary fat photon from smart br…

    …ems.
    Blake Walters authored and Blake Walters committed May 31, 2024
    Configuration menu
    Copy the full SHA
    631eb33 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Formatting!

    Blake Walters authored and Blake Walters committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    7f88689 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. (Re)implement doSmartCompton based on BEAMnrc algorithm.

    Blake Walters authored and Blake Walters committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    c03fa23 View commit details
    Browse the repository at this point in the history