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

making the source a bit easier for openmc users #11

Open
shimwell opened this issue Nov 5, 2020 · 0 comments
Open

making the source a bit easier for openmc users #11

shimwell opened this issue Nov 5, 2020 · 0 comments

Comments

@shimwell
Copy link
Contributor

shimwell commented Nov 5, 2020

Currently when making a PlasmaSource() there are some additional steps needed to make it into an openmc source object.

I'm wondering if we can include these within the package so that the plasma source returns an openmc.source object

source = openmc.Source()
source.library = SOURCE_SAMPLING_PATH
source.parameters = str(my_plasma)
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