mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Fix bug with <element> specifying xs attribute. Closes #269 on github.
This commit is contained in:
parent
e4ec89064d
commit
d7a7d0f45c
1 changed files with 3 additions and 1 deletions
|
|
@ -1520,7 +1520,9 @@ contains
|
|||
call get_node_value(node_ele, "name", name)
|
||||
|
||||
! Check for cross section
|
||||
if (.not.check_for_node(node_ele, "xs")) then
|
||||
if (check_for_node(node_ele, "xs")) then
|
||||
call get_node_value(node_ele, "xs", temp_str)
|
||||
else
|
||||
if (default_xs == '') then
|
||||
message = "No cross section specified for nuclide in material " &
|
||||
// trim(to_str(mat % id))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue