diff --git a/include/openmc/settings.h b/include/openmc/settings.h index 8f43767171..45cb7394c8 100644 --- a/include/openmc/settings.h +++ b/include/openmc/settings.h @@ -31,7 +31,7 @@ extern "C" bool cmfd_run; //!< is a CMFD run? extern "C" bool dagmc; //!< indicator of DAGMC geometry extern "C" bool entropy_on; //!< calculate Shannon entropy? extern bool legendre_to_tabular; //!< convert Legendre distributions to tabular? -extern bool output_summary; //!< write summary.h5? +extern "C" bool output_summary; //!< write summary.h5? extern bool output_tallies; //!< write tallies.out? extern bool particle_restart_run; //!< particle restart run? extern "C" bool photon_transport; //!< photon transport turned on? diff --git a/openmc/lib/settings.py b/openmc/lib/settings.py index 78794d8563..275c73a934 100644 --- a/openmc/lib/settings.py +++ b/openmc/lib/settings.py @@ -26,6 +26,7 @@ class _Settings(object): restart_run = _DLLGlobal(c_bool, 'restart_run') run_CE = _DLLGlobal(c_bool, 'run_CE') verbosity = _DLLGlobal(c_int, 'verbosity') + output_summary = _DLLGlobal(c_bool, 'output_summary') @property def run_mode(self):