mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Merge pull request #2395 from aprilnovak/better-error
Use more generalized error message.
This commit is contained in:
commit
d363f4eedb
1 changed files with 3 additions and 3 deletions
|
|
@ -182,11 +182,11 @@ void DAGUniverse::init_geometry()
|
|||
model::cell_map[c->id_] = model::cells.size();
|
||||
} else {
|
||||
warning(fmt::format("DAGMC Cell IDs: {}", dagmc_ids_for_dim(3)));
|
||||
fatal_error(fmt::format("Cell ID {} exists in both DAGMC Universe {} "
|
||||
"and the CSG geometry. Setting auto_geom_ids "
|
||||
fatal_error(fmt::format("DAGMC Universe {} contains a cell with ID {}, which "
|
||||
"already exists elsewhere in the geometry. Setting auto_geom_ids "
|
||||
"to True when initiating the DAGMC Universe may "
|
||||
"resolve this issue",
|
||||
c->id_, this->id_));
|
||||
this->id_, c->id_));
|
||||
}
|
||||
|
||||
// --- Materials ---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue