mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-24 20:15:26 -04:00
Making index_cmfd_mesh part of openmc::settings.
This commit is contained in:
parent
96c1afc8f7
commit
0baec6f9d5
4 changed files with 15 additions and 12 deletions
16
src/plot.cpp
16
src/plot.cpp
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue