Getting UWUW XML file read from memory.

This commit is contained in:
Patrick Shriwise 2018-12-10 01:21:01 -06:00
parent 37276daea2
commit 20b8da1f24
6 changed files with 106 additions and 32 deletions

View file

@ -26,15 +26,10 @@ extern moab::DagMC* DAG;
extern "C" void load_dagmc_geometry();
extern "C" void free_memory_dagmc();
extern "C" pugi::xml_document* read_uwuw_materials();
std::string get_uwuw_materials_xml();
} // namespace openmc
#endif // DAGMC
#endif // OPENMC_DAGMC_H
#ifdef DAGMC
extern "C" constexpr bool dagmc_enabled = true;
#else
extern "C" constexpr bool dagmc_enabled = false;
#endif

View file

@ -16,6 +16,8 @@
namespace openmc {
extern "C" bool dagmc_enabled;
//==============================================================================
// Global variable declarations
//==============================================================================