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 check for maximum number of particles to addphsp #729

Merged
merged 1 commit into from
Jun 30, 2022

Conversation

blakewalters
Copy link
Contributor

@blakewalters blakewalters commented Jun 7, 2021

For EGSnrc format phsp if total no. of particles in header > 2^32-1.

Addresses Issue #724.

@blakewalters blakewalters requested a review from a team as a code owner June 7, 2021 22:16
@rtownson rtownson added the bug label Jun 10, 2021
@rtownson rtownson added this to the Release 2022 milestone Jun 10, 2021
@ftessier ftessier added the small label Jun 27, 2022
@rtownson rtownson changed the title Elegant addphsp exit Add check for maximum number of particles to addphsp Jun 28, 2022
Implement a graceful exit from the addphsp application if the total
number of particles is greater than 2^32-1, the maximum count that can
be stored in the header. Only enforce this for a phase space in EGSnrc
format.
@ftessier
Copy link
Member

Squashed 2 commits and adjust commit message.

@ftessier ftessier merged commit 495ff78 into develop Jun 30, 2022
@ftessier ftessier deleted the elegant_addphsp_exit branch June 30, 2022 19:17
@ftessier ftessier linked an issue Aug 21, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing graceful error message in addphsp
4 participants