Updates to object lifecycle for WeightWindows and WeightWindowGenerators (#2582)

This commit is contained in:
Patrick Shriwise 2023-06-30 22:29:47 -05:00 committed by GitHub
parent 36f229eb01
commit 382bcb2e8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 275 additions and 211 deletions

View file

@ -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()