mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
refactor particle source import/export
This commit is contained in:
parent
a4f498c54f
commit
2172907bcf
13 changed files with 248 additions and 126 deletions
|
|
@ -403,7 +403,7 @@ void initialize_source()
|
|||
write_message("Writing out initial source...", 5);
|
||||
std::string filename = settings::path_output + "initial_source.h5";
|
||||
hid_t file_id = file_open(filename, 'w', true);
|
||||
write_source_bank(file_id, false);
|
||||
write_source_bank(file_id, simulation::source_bank, simulation::work_index);
|
||||
file_close(file_id);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue