mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Add missing argument
This commit is contained in:
parent
5ad6cfc4dc
commit
1c155526e9
2 changed files with 2 additions and 2 deletions
|
|
@ -342,7 +342,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);
|
||||
write_source_bank(file_id, false);
|
||||
file_close(file_id);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ openmc_statepoint_write(const char* filename, bool* write_source)
|
|||
// Write the source bank if desired
|
||||
if (write_source_) {
|
||||
if (mpi::master || parallel) file_id = file_open(filename_, 'a', true);
|
||||
write_source_bank(file_id);
|
||||
write_source_bank(file_id, false);
|
||||
if (mpi::master || parallel) file_close(file_id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue