Release notes for v0.4.0¶
Note
These release notes are currently in production.
Summary¶
This version of SaltProc refactors the code in preparation for supporting OpenMC.
Dependency Changes¶
Saltproc now requires the following packages
(new) → jsonschema
New Features¶
Bug Fixes¶
Script Changes¶
The following scripts have been renamed:
process_j312.sh→process_j312.bash
Python API Changes¶
New tests for previously untested functions in
simulation.py:test_check_switch_geo_triggertest_store_after_reprtest_store_mat_datatest_store_run_init_infotest_store_run_step_info
The following class methods have been added/(re)moved:
App.check_restart()→Simulation.check_restart()Simulation.switch_to_next_geometry→DepcodeSerpent.switch_to_next_geometrySimulation.runsim_no_reproc→test/integration_tests/test_no_reproc_run.py::runsim_no_reprocSimulation.store_run_step_infoSimulation.store_run_init_info(new) →
Depcode.switch_to_next_geometry(new) →
Depcode.read_depcode_info(new) →
Depcode.read_repcode_step_paramDepcodeSerpent.sss_meta_zzz→DepcodeSerpent.convert_nuclide_name_serpent_to_zamDepcodeSerpent.get_tra_or_dec→DepcodeSerpent.create_nuclide_name_map_zam_to_serpentDepcodeSerpent.read_depcode_template→DepcodeSerpent.read_plaintext_file
Updated input file structure:
App.depcode_inpdictionary(new) →
App.depcode_inp['codename']App.exec_pathApp.template_fileApp.neutron_pop→App.depcode_inp['npop']App.active_cyclesApp.inactive_cyclesApp.geo_file→App.depcode_inp['geo_file_paths']
App.simulation_inpdictionary:(new) →
App.simulation['sim_name']App.db_file→App.simulation['db_name']App.restart_flagApp.adjust_geo
App.reactor_inpdictionary(new) →
App.reactor_inp['volume'](new) →
App.reactor_inp['mass_flowrate']App.power_levelsApp.depl_hist→App.reactor_inp['dep_step_length_cumulative']
The following class attributes have been added/(re)moved:
Depcodeclass:template_path→template_inputfile_pathinput_path→iter_inputfilegeo_file→geo_files
Simulationclass:h5_file→db_path(new) →
restart_flag(new) →
adjust_geoiter_matfile→ (removed)
The signatures for the following class methods have changed to better make use of object data encapsulation:
Depcode.read_dep_compDepcode.write_depcode_inputDepcode.write_mat_fileDepcodeSerpent.read_depcode_templateDepcodeSerpent.create_nuclide_map_serpent_to_zam
Contributors¶
The following people contributed code to this release of SaltProc:
Reviewers¶
The following people reviewed code for this release of SaltProc: