Assorted Questions and Thoughts #12
Replies: 2 comments 3 replies
-
2/3/4. These issues are artifacts of the lazy way I copied some code from the dif3d plugin to get the nice flux spectra plots. I forgot I did it this way; I'll clean it up.
7/8. I had the same thought and did a reorganization of the code, but I apparently forgot to push that change. It's up now. It's still convoluted but hopefully a bit more readable.
|
Beta Was this translation helpful? Give feedback.
-
Do I remember you had to adjust the C5G7 blueprints to get your case running correctly? This looks like you used exactly what is (now) in ARMI. If you modified, will the modified versions go in this repo? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Here are some assorted questions and thoughts, for your perusal @AidanMcDonald .
Can you explain that one-liner ARMI change to me?
embedded functions work, but are nearly impossible to unit test and I think if you end up with one really long method with multiple embedded functions, that's harder to read than three little functions:
Maybe we should centralize all the plotting tools in this repo.
How else could we save this data? A YAML file as a Python package "resource"?
What do you think of combining the
openmcdemo
directory and thearmicontrib/armiopenmc
directory?I don't love relative imports myself. I think they can be troublesome. I won't die on that hill.
The OpenMCWriter.writeGeometry() method is 650 lines long and has a bunch of embedded methods. I think that's a touch long.
How could we reorganize to the
OpenMCWriter
so it has fewer "if this geometry" statements?Where did these XML files come from?
Beta Was this translation helpful? Give feedback.
All reactions