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

Zero energy deposited by track ends in vacuum. #1144

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

blakewalters
Copy link
Contributor

Handle "rare" cases of energy deposited (edep) in vacuum due to tracks ending once particles cross into the region by immediately zeroing edep. Requires a fix to dosxyznrc to handle the case of 0/0=NAN causing a crash. May also require fixes to other user codes to handle similar NAN cases.

Fixes #1061

@blakewalters blakewalters requested a review from a team as a code owner June 5, 2024 18:39
@blakewalters blakewalters self-assigned this Jun 5, 2024
@rtownson
Copy link
Collaborator

rtownson commented Jun 10, 2024

There has been a long-standing bug in DOSXYZnrc where the code will tend to segmentation fault if you use the "surrounding material" as VACUUM (the default). I wonder if the fixes you suggest will also fix that!

@blakewalters
Copy link
Contributor Author

That would be nice, @rtownson! But I don't know. Do these segmentation faults occur during or at the end of the runs?

@rtownson
Copy link
Collaborator

I think it was during, but I'll have to find a case that reproduces this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants