mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
improve error message
This commit is contained in:
parent
33b5b7a198
commit
ebc9422d78
1 changed files with 2 additions and 1 deletions
|
|
@ -154,7 +154,8 @@ void DAGUniverse::init_dagmc()
|
|||
fatal_error("Geometry DAGMC file '" + filename_ + "' does not exist!");
|
||||
}
|
||||
auto rval = dagmc_instance_->load_file(filename_.c_str());
|
||||
dagmc_check_error(rval);
|
||||
dagmc_check_error(
|
||||
rval, "Failed to load geometry DAGMC file '" + filename_ + "'.");
|
||||
|
||||
// initialize acceleration data structures
|
||||
rval = dagmc_instance_->init_OBBTree();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue