Merge pull request #1390 from pshriwise/add_out_summary_to_capi

Exposing write summary.h5 settings option to CAPI.
This commit is contained in:
Paul Romano 2019-11-05 10:15:13 -05:00 committed by GitHub
commit 33cdeb44ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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?

View file

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