Skip to content

Commit

Permalink
Exposing write summary settings option to CAPI.
Browse files Browse the repository at this point in the history
  • Loading branch information
pshriwise committed Oct 30, 2019
1 parent b60ee3b commit 739419b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/openmc/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down
1 change: 1 addition & 0 deletions openmc/lib/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 739419b

Please sign in to comment.