From 725a2fa8145cd8411ddf719e2cf98d1fb23dbb9a Mon Sep 17 00:00:00 2001 From: pshriwise Date: Mon, 17 Sep 2018 16:20:23 -0500 Subject: [PATCH] Updating how volumes without material assignments are handled. --- src/cad.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cad.cpp b/src/cad.cpp index 9ab4e91f91..7680932db7 100644 --- a/src/cad.cpp +++ b/src/cad.cpp @@ -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."); } }