mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Updating how volumes without material assignments are handled.
This commit is contained in:
parent
b149adde0f
commit
725a2fa814
1 changed files with 2 additions and 2 deletions
|
|
@ -81,8 +81,8 @@ void load_cad_geometry_c()
|
|||
}
|
||||
}
|
||||
else {
|
||||
std::cout << "Warning: volume without material found!" << std::endl;
|
||||
c->material_.push_back(openmc::MATERIAL_VOID);
|
||||
std::cout << c->id_ << std::endl;
|
||||
openmc::fatal_error("A volume without a material was found.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue