Using the DAGUniverse constructor to setup the DAGMC instance.

This commit is contained in:
Patrick Shriwise 2020-07-08 22:38:06 -05:00
parent ef21ec493b
commit a16c0916da
5 changed files with 217 additions and 7 deletions

View file

@ -80,11 +80,11 @@ public:
class DAGUniverse : public Universe {
public:
explicit DAGUniverse(std::string filename);
explicit DAGUniverse(const std::string& filename);
// Data Members
std::shared_ptr<moab::DagMC> dag_instance_; //! DAGMC Instance for this universe
std::shared_ptr<moab::DagMC> dagmc_instance_; //! DAGMC Instance for this universe
};
#endif

View file

@ -9,8 +9,9 @@ extern "C" const bool DAGMC_ENABLED;
#ifdef DAGMC
#include "DagMC.hpp"
#include "openmc/xml_interface.h"
#include "openmc/position.h"
#include "openmc/xml_interface.h"
namespace openmc {