mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Allow read_source_bank to be distributed or not
This commit is contained in:
parent
33b7dcfe22
commit
b271399f63
3 changed files with 24 additions and 19 deletions
|
|
@ -254,8 +254,8 @@ FileSource::FileSource(std::string path)
|
|||
fatal_error("Specified starting source file not a source file type.");
|
||||
}
|
||||
|
||||
// Read in the source bank
|
||||
read_source_bank(file_id, sites_);
|
||||
// Read in the source particles
|
||||
read_source_bank(file_id, sites_, false);
|
||||
|
||||
// Close file
|
||||
file_close(file_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue