mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Add empty string default argument for external DAGMC Universe constructor
This commit is contained in:
parent
d9498216dd
commit
8bf7de39ca
2 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ public:
|
|||
|
||||
//! Alternative DAGMC universe constructor for external DAGMC instance
|
||||
explicit DAGUniverse(std::shared_ptr<moab::DagMC> external_dagmc_ptr,
|
||||
const std::string& filename, bool auto_geom_ids = false,
|
||||
const std::string& filename = "", bool auto_geom_ids = false,
|
||||
bool auto_mat_ids = false);
|
||||
|
||||
//! Initialize the DAGMC accel. data structures, indices, material
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ int main(int argc, char* argv[])
|
|||
|
||||
// Create new DAGMC universe
|
||||
openmc::model::universes.push_back(
|
||||
std::make_unique<openmc::DAGUniverse>(dag_ptr, ""));
|
||||
std::make_unique<openmc::DAGUniverse>(dag_ptr));
|
||||
model::universe_map[model::universes.back()->id_] =
|
||||
model::universes.size() - 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue