mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Call simulation_finalize if needed when finalizing OpenMC (#2790)
This commit is contained in:
parent
8b2698f5c0
commit
e8faccdc93
1 changed files with 3 additions and 0 deletions
|
|
@ -63,6 +63,9 @@ using namespace openmc;
|
|||
|
||||
int openmc_finalize()
|
||||
{
|
||||
if (simulation::initialized)
|
||||
openmc_simulation_finalize();
|
||||
|
||||
// Clear results
|
||||
openmc_reset();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue