Moving dagmc_enabled outside of main DAGMC ifdef.

This commit is contained in:
Patrick Shriwise 2019-01-22 12:50:13 -06:00
parent 98bd3d6347
commit 3c743cb5e2

View file

@ -2,6 +2,10 @@
#ifndef OPENMC_DAGMC_H
#define OPENMC_DAGMC_H
namespace openmc {
extern "C" const bool dagmc_enabled;
}
#ifdef DAGMC
#include "DagMC.hpp"
@ -10,12 +14,6 @@
namespace openmc {
//==============================================================================
// Global variables
//==============================================================================
extern "C" const bool dagmc_enabled;
namespace model {
extern moab::DagMC* DAG;
@ -30,6 +28,7 @@ extern "C" void load_dagmc_geometry();
extern "C" void free_memory_dagmc();
extern "C" pugi::xml_document* read_uwuw_materials();
bool get_uwuw_materials_xml(std::string& s);
} // namespace openmc
#endif // DAGMC