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

Fix for data crossover in VTK filess when using multiple tallies w/ unstructured mesh. #1645

Merged
merged 3 commits into from
Aug 27, 2020

Conversation

pshriwise
Copy link
Contributor

A user noted that unstructured mesh tally data from one tally was being written in the VTK file of another tally.

This PR adds the UnstructuredMesh::remove_score method and applies it in write_unstructured_mesh_results to clear out data between tallies when writing VTK files.

Copy link
Contributor

@paulromano paulromano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One little change requested -- otherwise looks fine to me. Thanks @pshriwise!

src/mesh.cpp Outdated Show resolved Hide resolved
Including suggested change from @paulromano

Co-authored-by: Paul Romano <[email protected]>
@paulromano paulromano merged commit bf34c4b into openmc-dev:develop Aug 27, 2020
@pshriwise pshriwise deleted the umesh_scores branch November 16, 2021 22:48
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.

2 participants