mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Add section to write surface source into a separate file
This commit is contained in:
parent
30b1c6b2d4
commit
2e49a1d6de
1 changed files with 6 additions and 0 deletions
|
|
@ -378,6 +378,12 @@ void finalize_batch()
|
|||
write_source_point(filename.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
// Write out surface source if requested.
|
||||
if (settings::surface_source) {
|
||||
auto filename = settings::path_output + "surface_source.h5";
|
||||
write_surf_src_point(filename.c_str()); //!!
|
||||
}
|
||||
}
|
||||
|
||||
void initialize_generation()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue