-
Notifications
You must be signed in to change notification settings - Fork 146
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
blakewalters
wants to merge
60
commits into
nrc-cnrc:develop
Choose a base branch
from
blakewalters:add-dbs_to_radiative_splitting
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 56 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
3b51ec3
First commit.
blakewalters 2d05a10
Commit no. 2
blakewalters 86f4c71
Commit I think third.
blakewalters 6eefb24
Commit 4.
blakewalters 5f955a1
Commit n+1
blakewalters c4a4ed7
All required functions in egs_advanced_application.
blakewalters 0191dae
Trying to get it to compile.
blakewalters f847359
Compiles but hangs during run.
blakewalters 5ceb688
Ensure latch bit 31 set to mark phat/non-phat particles.
blakewalters 9bf7b73
Include Rayleigh interactions and eliminate some
blakewalters 61f325d
Need to figure out how to not require
blakewalters 058308a
Added output to Makefile.
blakewalters dec8b35
Override key macros from egs_interface2.macros.
blakewalters f48ea09
Forgot egs_radiative_splitting.macros file.
blakewalters a2e15ae
Midway through changes to implement all
blakewalters 9458759
Major changes including:
blakewalters 7dd7941
EGS_AdvancedAppliction::getParticleFromStack changed from void->EGS_P…
blakewalters 293a399
Forgot to add array_sizes.h
blakewalters 906ca73
Fixed a few bugs re:
blakewalters 616d3bd
Add Ernesto's changes from 05/18/2021.
blakewalters 27d18d7
Eliminate array dimension macros from AO.
blakewalters 0a6eadf
Fixed bugs in updateParticleOnStack and getParticleFromStack:
blakewalters 74b5e93
Pass values to getRngAzimuth by reference.
dd5d1e7
Fix incorrect updating of latch of initiating e- after brems.
b5fb044
"Essential" debug statements.
e22d7b4
Fix calls to alias_sample1 and egs_rayleigh_sampling.
41d45ef
Another fix: Did not properly copy region no. over during Rayleigh sp…
5a5e7fc
Replaced app->isWhere(x) with irl=app->top_p.ir everywhere.
97a4389
Debug statements.
f4647cd
Debug output.
3228194
Change $MXBRSPLIT back to default value.
13f3a58
Put interacting particle on top of stack.
c6e6f27
Remove debug output.
c6fbdf5
Revert to develop versions of egsnrc.mortran, egs_application.cpp
b663d3f
Halfway to changing SmartCompton to use BEAMnrc implementation.
265f016
Make SmartCompton identical to BEAMnrc implementation...2nd commit.
1d8cef0
Changed SmartCompton to BEAMnrc implementation...1st crack.
b9fb2c9
More changes to doSmartCompton to match BEAMnrc implementation.
bbe2fdc
Final changes to doSmartCompton to match BEAMnrc implementation.
f30144b
Some debugging statements.
682f922
Likely some debug statements.
ee747a7
Ooops, introduced bug in BEAMnrc implementation of SmartCompton.
07901a2
Remove debug stop from egs_phsp_scoring.
4fe6a53
Get rid of commented out debug statement.
0bf67af
Revert to default value of $MAXBRSPLIT.
189bf10
Get rid of repeat definition of getNp().
eb03a95
Fixed bug in doSmartBrems latch setting.
671bcdb
Implement beampp version of doSmartCompton.
aff3a1e
Fixed bug setting region no. for phat photon in doSmartCompton.
79ed4c4
Mid debug 12/05/2023.
b43a33f
Restore functionality after debug.
5e425f0
Subject all nonphat photons to RR before interacting.
d54adf5
Fix sampling indices in doSmartBrems.
b164dac
Rename some variables. A bit of cleanup.
3fb4dc3
Small changes, plus disable smartCompton.
631eb33
Latest fixes including eliminate unnecessary fat photon from smart br…
7f88689
Formatting!
c03fa23
(Re)implement doSmartCompton based on BEAMnrc algorithm.
1f27b27
Disable smartBrems for ibrdst=1.
53dedfa
Add e-/e+ splitting to DBS.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
HEN_HOUSE/egs++/ausgab_objects/egs_radiative_splitting/array_sizes.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
############################################################################### | ||
# | ||
# EGSnrc tutor7pp application array sizes headers | ||
# Copyright (C) 2015 National Research Council Canada | ||
# | ||
# This file is part of EGSnrc. | ||
# | ||
# EGSnrc is free software: you can redistribute it and/or modify it under | ||
# the terms of the GNU Affero General Public License as published by the | ||
# Free Software Foundation, either version 3 of the License, or (at your | ||
# option) any later version. | ||
# | ||
# EGSnrc is distributed in the hope that it will be useful, but WITHOUT ANY | ||
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for | ||
# more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with EGSnrc. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################### | ||
# | ||
# Author: Iwan Kawrakow, 2005 | ||
# | ||
# Contributors: | ||
# | ||
############################################################################### | ||
# | ||
# Defines he maximum number of media (MXMED) and the maximum number of | ||
# particles on the stack (MXSTACK). This file gets included by the egsnrc | ||
# fortran subroutines (egsnrc_$my_machine.F), the base application | ||
# (egs_simple_application.cpp or egs_advanced_application.cpp in | ||
# $HEN_HOUSE/egs++), and possibly the user code, if it uses the particle | ||
# stack or one of the structures that depends on the maximum number of media. | ||
# | ||
############################################################################### | ||
*/ | ||
|
||
|
||
#ifndef ARRAY_SIZES_ | ||
#define ARRAY_SIZES_ | ||
#define MXMED 10 | ||
#define MXSTACK 1000000 | ||
#define MXBRES 100 | ||
#define MXBRXS 50 | ||
#define MXEL 50 | ||
#define MXPWR2I 50 | ||
#define MXGE 2000 | ||
#define MXRAYFF 100 | ||
#define MXSGE 400 | ||
#endif |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the file header to change
tutor7pp
toradiative splitting
.