mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Change xml_write -> export_to_xml, xml_read -> from_xml for consistency
This commit is contained in:
parent
26852f79f4
commit
43147b70eb
6 changed files with 20 additions and 19 deletions
|
|
@ -53,7 +53,7 @@ def main():
|
|||
neutron_files = glob.glob(os.path.join('neutrons', '*.endf'))
|
||||
|
||||
chain = openmc.deplete.DepletionChain.from_endf(decay_files, nfy_files, neutron_files)
|
||||
chain.xml_write('chain_endfb71.xml')
|
||||
chain.export_to_xml('chain_endfb71.xml')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue