Open MicahGale opened 2 months ago
The example you are showing is the approach I am taking but I recognize that this cannot be implemented in a general parser such as montepy. I guess the only two valid options are either not supporting sub-materials or going for a special montepy comment syntax
I think we just made the sub materials for any comment and named them according to the comment that would work. No customer syntax. If the user wants to use it is there, and they can tweak their comments accordingly. Otherwise it would be just be a normal material.
Speaking to @dodu94 this concept came up.
Sometimes users will create "mixtures" in a material definition. e.g.,
So sometimes it would be helpful to be able to isolate these separate constituents of the material mixture.
The main question is what condition should distinguish a submaterial, @dodu94?
I think you really only have two options: