mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Moving dagmc_enabled outside of main DAGMC ifdef.
This commit is contained in:
parent
98bd3d6347
commit
3c743cb5e2
1 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue