mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Updates to object lifecycle for WeightWindows and WeightWindowGenerators (#2582)
This commit is contained in:
parent
36f229eb01
commit
382bcb2e8e
6 changed files with 275 additions and 211 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include "openmc/thermal.h"
|
||||
#include "openmc/timer.h"
|
||||
#include "openmc/vector.h"
|
||||
#include "openmc/weight_windows.h"
|
||||
|
||||
#ifdef LIBMESH
|
||||
#include "libmesh/libmesh.h"
|
||||
|
|
@ -404,6 +405,8 @@ bool read_model_xml()
|
|||
}
|
||||
}
|
||||
|
||||
finalize_variance_reduction();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -427,6 +430,8 @@ void read_separate_xml_files()
|
|||
// Read the plots.xml regardless of plot mode in case plots are requested
|
||||
// via the API
|
||||
read_plots_xml();
|
||||
|
||||
finalize_variance_reduction();
|
||||
}
|
||||
|
||||
void initial_output()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue