Whereas Serpent2 uses plain text input files, OpenMC uses .xml files (settings.xml, materials.xml, geometry.xml). A user would typically create these .xml files using the Python API.
This issue can be closed when functions exist within the Depcode class that can work with the .xml files used by OpenMC -- specifically the .xml files that the OpenMC python API creates. These functions should utilize the OpenMC API where possible.
In particular, we want similar functionality as the following functions:
Whereas Serpent2 uses plain text input files, OpenMC uses
.xmlfiles (settings.xml,materials.xml,geometry.xml). A user would typically create these.xmlfiles using the Python API.This issue can be closed when functions exist within the
Depcodeclass that can work with the.xmlfiles used by OpenMC -- specifically the.xmlfiles that the OpenMC python API creates. These functions should utilize the OpenMC API where possible.In particular, we want similar functionality as the following functions:
Depcodewrite_depcode_inputread_depcode_templateinsert_path_to_geometrychange_sim_parcreate_iter_matfilewrite_mat_fileSimulationswitch_to_next_geometry