Input loop not working when defining multiple media in egs_chamber #1237
-
I'm trying to use an input loop using a string variable in egs_chamber to define multiple materials using the same density correction file by using the following placed inside the media definition block -
When I run the application it seems the loop isn't working though - I get the error message "Material not defined: water1" I've never had a problem with input loops before, but in this case I'm guessing the variable names aren't able to be passed to text surrounded with colons? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I'm guessing this is because the media definition section of the input file is actually parsed by the mortran code (because you can have the same media input block in the mortran apps). This should at the very least be in the documentation as a known issue.. |
Beta Was this translation helpful? Give feedback.
-
Thanks very much for the reply. Are there any other definition sections of the input file which might not work due to being parsed by Mortran? |
Beta Was this translation helpful? Give feedback.
-
ok, thank you |
Beta Was this translation helpful? Give feedback.
I'm guessing this is because the media definition section of the input file is actually parsed by the mortran code (because you can have the same media input block in the mortran apps). This should at the very least be in the documentation as a known issue..