You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes users will create "mixtures" in a material definition. e.g.,
c water and boric acid
m1
c water
1001.80c 0.66665
8016.80c 0.3300
c boric acid
1001.80c 3e-6
8016.80c 3e-6
5010.80c 1e-6
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:
Create a new submaterial with any "splitting comment"
Create some sort of comment syntax (à la Creating an embedded syntax in MCNP comments #344). Personally I think this is a risky approach, and I am very hesitant to introduce anything along these lines.
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: