mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
add a trigger to simulation control
This commit is contained in:
parent
9d7105ebc7
commit
cd9eb5b1b2
1 changed files with 4 additions and 4 deletions
|
|
@ -408,10 +408,10 @@ void finalize_batch()
|
|||
write_source_point(filename.c_str(), true);
|
||||
}
|
||||
|
||||
if(settings::surf_mcpl_write && simulation::current_batch == settings::n_batches){
|
||||
auto filename = settings::path_output + ".mcpl";
|
||||
write_mcpl_source_point(filename.c_str(), true);
|
||||
}
|
||||
if(settings::surf_mcpl_write && simulation::current_batch == settings::n_batches){
|
||||
auto filename = settings::path_output + ".mcpl";
|
||||
write_mcpl_source_point(filename.c_str(), true);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue