Moving dagmc_enabled variable to the capi header.

This commit is contained in:
Patrick Shriwise 2019-01-16 20:25:06 -06:00
parent 7f1ae5fe05
commit 69f8f5853f
2 changed files with 3 additions and 2 deletions

View file

@ -7,6 +7,9 @@
#ifdef __cplusplus
#include "openmc/bank.h"
extern "C" const bool dagmc_enabled;
extern "C" {
int openmc_fission_bank(openmc::Bank** ptr, int64_t* n);
int openmc_source_bank(openmc::Bank** ptr, int64_t* n);

View file

@ -20,8 +20,6 @@ namespace openmc {
// Global variable declarations
//==============================================================================
extern "C" const bool dagmc_enabled;
namespace settings {
// Boolean flags