Updating how volumes without material assignments are handled.

This commit is contained in:
pshriwise 2018-09-17 16:20:23 -05:00
parent b149adde0f
commit 725a2fa814

View file

@ -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.");
}
}