Closed dodu94 closed 1 month ago
Thanks for the report @dodu94, and for trying to work with ITER-C.
So it looks like multiple TMP
are allowed, just not like this.
TMP
is meant to specify temperatures at multiple time points (why would LANL ever need to model changing temperature? :P). In the manual the only official way is to use a TMPn
syntax. There is no discussion of a default, which I assume this is implicitly using.
There's no documentation explicit on if redundant values are or are not allowed. So from an intuition stand point two temperatures for one cell doesn't make sense, and I think raising an error here still makes sense.
Describe the bug
Hi, montepy seems to not accept double TMP cards in the same cell (and why would it?). While trying to benchmark the C-model parsing I got the error below. Apparently, multiple TMP cards do not throw errors in MCNP, I guess the code just overrides the value. I will understand if you decide not to fix this as this is quite a bizarre behaviour.
To Reproduce
put two TMP cards in a cell
Error Message (if any)
MCNP input file snippet
whatever input with two TMP cards in one cell.
Version