mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Fixing output message syntax
This commit is contained in:
parent
bdf6de5e51
commit
7b083c7b0c
2 changed files with 8 additions and 7 deletions
|
|
@ -262,11 +262,9 @@ void UnstructuredMesh::to_hdf5(hid_t group) const
|
|||
|
||||
// warn users that some elements were skipped
|
||||
if (num_elem_skipped > 0) {
|
||||
warning(fmt::format(
|
||||
"The connectivity of {} elements
|
||||
on mesh {} were not written
|
||||
"
|
||||
"because they are not of type linear tet/hex.",
|
||||
warning(fmt::format("The connectivity of {} elements "
|
||||
"on mesh {} were not written "
|
||||
"because they are not of type linear tet/hex.",
|
||||
num_elem_skipped, this->id_));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -820,8 +820,11 @@ void write_unstructured_mesh_results()
|
|||
|
||||
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_));
|
||||
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