Release notes for v0.4.0¶
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_trigger
test_store_after_repr
test_store_mat_data
test_store_run_init_info
test_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_geometry
Simulation.runsim_no_reproc
→test/integration_tests/test_no_reproc_run.py::runsim_no_reproc
Simulation.store_run_step_info
Simulation.store_run_init_info
(new) →
Depcode.switch_to_next_geometry
(new) →
Depcode.read_depcode_info
(new) →
Depcode.read_repcode_step_param
DepcodeSerpent.sss_meta_zzz
→DepcodeSerpent.convert_nuclide_name_serpent_to_zam
DepcodeSerpent.get_tra_or_dec
→DepcodeSerpent.create_nuclide_name_map_zam_to_serpent
DepcodeSerpent.read_depcode_template
→DepcodeSerpent.read_plaintext_file
Updated input file structure:
App.depcode_inp
dictionary(new) →
App.depcode_inp['codename']
App.exec_path
App.template_file
App.neutron_pop
→App.depcode_inp['npop']
App.active_cycles
App.inactive_cycles
App.geo_file
→App.depcode_inp['geo_file_paths']
App.simulation_inp
dictionary:(new) →
App.simulation['sim_name']
App.db_file
→App.simulation['db_name']
App.restart_flag
App.adjust_geo
App.reactor_inp
dictionary(new) →
App.reactor_inp['volume']
(new) →
App.reactor_inp['mass_flowrate']
App.power_levels
App.depl_hist
→App.reactor_inp['dep_step_length_cumulative']
The following class attributes have been added/(re)moved:
Depcode
class:template_path
→template_inputfile_path
input_path
→iter_inputfile
geo_file
→geo_files
Simulation
class:h5_file
→db_path
(new) →
restart_flag
(new) →
adjust_geo
iter_matfile
→ (removed)
The signatures for the following class methods have changed to better make use of object data encapsulation:
Depcode.read_dep_comp
Depcode.write_depcode_input
Depcode.write_mat_file
DepcodeSerpent.read_depcode_template
DepcodeSerpent.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: