mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Always continue, but only write warning on mpi master rank
This commit is contained in:
parent
2f8d2fe003
commit
782c241190
1 changed files with 2 additions and 1 deletions
|
|
@ -819,7 +819,8 @@ void write_unstructured_mesh_results()
|
|||
if (!umesh->output_)
|
||||
continue;
|
||||
|
||||
if (umesh->library() == "moab" && !mpi::master) {
|
||||
if (umesh->library() == "moab") {
|
||||
if (mpi::master)
|
||||
warning(fmt::format("Output for a MOAB mesh (mesh {}) was requested but will not be written. Please use the Python API to generated the desired VTK tetrahedral mesh.", umesh->id_));
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue