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

Conditional / dependent source distributions #3203

Open
paulromano opened this issue Nov 22, 2024 · 0 comments
Open

Conditional / dependent source distributions #3203

paulromano opened this issue Nov 22, 2024 · 0 comments

Comments

@paulromano
Copy link
Contributor

Description

I've had a few recent discussions about the desire to have a conditional or dependent source distribution where, e.g., the angular distribution could depend on the outcome of sampling the energy distribution. This is an option in MCNP via the DS card. I'm not sure what the interface would look like but thought I'd create this as a placeholder issue for further discussion.

Alternatives

You can kind of brute force this by creating a bunch of individual IndependentSource objects that collectively behave similar to a dependent source distribution. You can also, of course, write a CompiledSource to achieve this, but that doesn't really give a general user any ability.

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

1 participant