-
Notifications
You must be signed in to change notification settings - Fork 11
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
Simplify heating source usage. #21
Simplify heating source usage. #21
Conversation
Thanks April. Before we can merge this:
|
|
I'll think I'm now ready to come back to this PR. The main prerequisites are in place. I think I now know how to handle this PR. I think we retain the "legacy" way of doing things, but label it as such. In one direction at least there is value to with the convoluted route as I think you could nominally tally on a different mesh than the one you store the values on, because under the hood I am using a the mesh function which uses a point locator. Combined with DAGMC universes this might be useful in future if we ever just want the heating field on a single component. Essentially I don't want to deprecate this code yet, as it may have value yet. And therefore, it still needs to be tested. However, I totally agree that for basic usage, your way is much cleaner. So, I propose the following.
Does that sound OK? |
Sorry for the delay, I was out on vacation. I think this plan sounds great! It will be nice to have some CI covering the input file syntax. I'll make the requested changes in this PR. |
4f866bb
to
b4e82c0
Compare
@helen-brooks this is ready for review. I created two new test directories with the "simplified" input file syntax. For everything except the input files, I created sym links to the "legacy" versions, and then added just an exodiff.cmp file that ignores the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks April. looks good. The only issue is I don't think the exodiff files generated by the tests should be included. Delete those and we should be good to go.
Not sure I follow - the only gold files added were the renamed ones (moving from |
Two files named exodiff.cmp which are generated by the tests were erroneously commited: and Please could you delete them? |
No, the Otherwise, the "modern" tests will fail with a message like "Could not find variable local-heating in file 2, but it is present in file 1" |
Ah, my bad! In that case all looks good! |
Closes #17