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

MCNP: track() is called too often when using a weight window mesh (performance) #719

Open
gonuke opened this issue Jan 7, 2021 · 0 comments

Comments

@gonuke
Copy link
Member

gonuke commented Jan 7, 2021

Describe the Bug

When using a weight window mesh, native MCNP does not call track if the event in hstory is a mean-free-path weight window mesh event. It just decrements the distance to the surface and continues on.

In DAGMC, we do call track even if the event is a mean-free-path weight window mesh event, causing at least one extra expensive call to track, and possibly more.

We should revisit this logic to prevent excessive calls to track.

@gonuke gonuke changed the title track() is called too often when using a weight window mesh (performance) MCNP: track() is called too often when using a weight window mesh (performance) Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant