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

How to set the STOP card? #12

Open
kbat opened this issue Mar 14, 2014 · 2 comments
Open

How to set the STOP card? #12

kbat opened this issue Mar 14, 2014 · 2 comments

Comments

@kbat
Copy link
Collaborator

kbat commented Mar 14, 2014

I would like to stop my run when a specific tally precision is achieved, i.e. saying in the mcnpx input something like
stop f5 0.01
How do I do it?

@SAnsell
Copy link
Owner

SAnsell commented Mar 14, 2014

Given that you can only have a stop on one bin of a tally, I have never thought to use or implement it..... I would add it as an option...

Maybe add it to Tally.h as an extra line -- use format names to get stuff like f5 [So it gets the correct tally number etc]

Then to add it to a tally add a tMod option.

@kbat
Copy link
Collaborator Author

kbat commented Mar 17, 2014

This feature would be especially useful for optimisation studies: it would help avoid simulating more than necessary incident protons for requested precision and therefore make optimisation faster.
Alternatively one can just insert an appropriate STOP line by sed, but it is not so elegant.

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

No branches or pull requests

2 participants