Making index_cmfd_mesh part of openmc::settings.

This commit is contained in:
Patrick Shriwise 2018-10-26 13:55:17 -05:00
parent 96c1afc8f7
commit 0baec6f9d5
4 changed files with 15 additions and 12 deletions

View file

@ -560,14 +560,14 @@ ObjectPlot::set_meshlines()
} else {
index_meshlines_mesh = settings::index_ufs_mesh;
}
// } else if ("cmfd" == meshtype) {
// if (!settings::cmfd_run) {
// std::stringstream err_msg;
// err_msg << "Need CMFD run to plot CMFD mesh for meshlines on plot " << id;
// fatal_error(err_msg);
// } else {
// index_meshlines_mesh = settings::index_cmfd_mesh;
// }
} else if ("cmfd" == meshtype) {
if (!settings::cmfd_run) {
std::stringstream err_msg;
err_msg << "Need CMFD run to plot CMFD mesh for meshlines on plot " << id;
fatal_error(err_msg);
} else {
index_meshlines_mesh = settings::index_cmfd_mesh;
}
} else if ("entropy" == meshtype) {
if (settings::index_entropy_mesh < 0) {
std::stringstream err_msg;