Can HexBlock.verifyDims be generalized or exposed to plugins? #640
drewj-usnctech
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
I very much agree that So there is that. But I also think that you should be able to make your own block type from within a plugin that is recognized when building a case, without any changes needed to the current framework. I might be wrong about that, but I know it is possible for Is this what you are hoping to do? Maybe I am unclear about how your thoughts on how to potentially resolve this. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current implementation of
HexBlock
feels heavily tied towards sodium fast reactor design with some baked-in assumptionsarmi/armi/reactor/blocks.py
Lines 1745 to 1757 in b9eb9ca
Any reactor not adhering to this design is likely to see a lot of warnings in their runlog like
This feels like something where generalization / plugins could be useful. But it both needs to be more general but also design specific. Exposing this to a plugin that handles sodium fast reactors and LWRs would need some additional logic to know how to check the validity of a
Block
There's also this section of code that will never be executed because it's directly after an exception in the same scope
armi/armi/reactor/blocks.py
Lines 1774 to 1786 in b9eb9ca
Beta Was this translation helpful? Give feedback.
All reactions