openmc.data.njoy.run¶
-
openmc.data.njoy.
run
(commands, tapein, tapeout, stdout=False, njoy_exec='njoy')[source]¶ Run NJOY with given commands
Parameters: - commands (str) – Input commands for NJOY
- tapein (dict) – Dictionary mapping tape numbers to paths for any input files
- tapeout (dict) – Dictionary mapping tape numbers to paths for any output files
- stdout (bool, optional) – Whether to display output when running NJOY
- njoy_exec (str, optional) – Path to NJOY executable
Returns: Return code of NJOY process
Return type: