mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Using the DAGUniverse constructor to setup the DAGMC instance.
This commit is contained in:
parent
ef21ec493b
commit
a16c0916da
5 changed files with 217 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue