mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Apply minor changes from pshriwise code review
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
parent
116c7c33c0
commit
d9498216dd
2 changed files with 3 additions and 4 deletions
|
|
@ -88,7 +88,7 @@ public:
|
|||
explicit DAGUniverse(const std::string& filename, bool auto_geom_ids = false,
|
||||
bool auto_mat_ids = false);
|
||||
|
||||
//! Alternative DAGMC universe constructor for external DAGMC
|
||||
//! 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,
|
||||
bool auto_mat_ids = false);
|
||||
|
|
|
|||
|
|
@ -72,13 +72,12 @@ DAGUniverse::DAGUniverse(
|
|||
adjust_material_ids_(auto_mat_ids)
|
||||
{
|
||||
set_id();
|
||||
|
||||
initialize();
|
||||
}
|
||||
|
||||
DAGUniverse::DAGUniverse(std::shared_ptr<moab::DagMC> external_dagmc_ptr,
|
||||
DAGUniverse::DAGUniverse(std::shared_ptr<moab::DagMC> dagmc_ptr,
|
||||
const std::string& filename, bool auto_geom_ids, bool auto_mat_ids)
|
||||
: dagmc_instance_(external_dagmc_ptr), filename_(filename),
|
||||
: dagmc_instance_(dagmc_ptr), filename_(filename),
|
||||
adjust_geometry_ids_(auto_geom_ids), adjust_material_ids_(auto_mat_ids)
|
||||
{
|
||||
set_id();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue