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

added grid for sampling a, alpha #91

Closed
wants to merge 5 commits into from
Closed

Conversation

shimwell
Copy link
Member

@shimwell shimwell commented Apr 8, 2024

This method of sampling ensures the model produces the same coordinates each time.

Previously we had a random sampling and this made the subsequent neutronics simulations differ with each creation of the plasma source being different.

sampling bug reported by user on the openmc forum https://openmc.discourse.group/t/different-distribution-of-neutron-density-in-openmc-plasma-source/4111/3

@shimwell
Copy link
Member Author

shimwell commented Apr 8, 2024

looks like tests are failing but some can be fixed with

@settings(suppress_health_check=(HealthCheck.too_slow,))

@shimwell
Copy link
Member Author

shimwell commented Apr 8, 2024

closing in favour of #92

@shimwell shimwell closed this Apr 8, 2024
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

Successfully merging this pull request may close these issues.

1 participant