mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Set elastic type in ACER card 9 correctly
This commit is contained in:
parent
0d71494b3e
commit
b2213ff343
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ def make_ace_thermal(filename, filename_thermal, temperatures=None,
|
|||
|
||||
# Determine whether elastic is incoherent (0) or coherent (1)
|
||||
file_obj = StringIO(ev_thermal.section[7, 2])
|
||||
elastic_type = endf.get_head_record(file_obj)[2]
|
||||
elastic_type = endf.get_head_record(file_obj)[2] - 1
|
||||
else:
|
||||
elastic = 0
|
||||
mt_elastic = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue