mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
36 lines
711 B
C++
36 lines
711 B
C++
|
|
#ifndef OPENMC_DAGMC_H
|
|
#define OPENMC_DAGMC_H
|
|
|
|
namespace openmc {
|
|
extern "C" const bool dagmc_enabled;
|
|
}
|
|
|
|
#ifdef DAGMC
|
|
|
|
#include "DagMC.hpp"
|
|
#include "openmc/cell.h"
|
|
#include "openmc/surface.h"
|
|
|
|
namespace openmc {
|
|
|
|
namespace model {
|
|
|
|
extern moab::DagMC* DAG;
|
|
|
|
} // namespace model
|
|
|
|
//==============================================================================
|
|
// Non-member functions
|
|
//==============================================================================
|
|
|
|
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
|
|
|
|
#endif // OPENMC_DAGMC_H
|