mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Rely on std::filesystem for file_utils (#3042)
Co-authored-by: Andrew Johnson <git.vyveu@simplelogin.com> Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
a8768b7845
commit
8626ce5c43
7 changed files with 53 additions and 67 deletions
|
|
@ -446,10 +446,9 @@ void finalize_batch()
|
|||
|
||||
// Write a continously-overwritten source point if requested.
|
||||
if (settings::source_latest) {
|
||||
// note: correct file extension appended automatically
|
||||
auto filename = settings::path_output + "source";
|
||||
gsl::span<SourceSite> bankspan(simulation::source_bank);
|
||||
write_source_point(filename.c_str(), bankspan, simulation::work_index,
|
||||
write_source_point(filename, bankspan, simulation::work_index,
|
||||
settings::source_mcpl_write);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue