Fixing output message syntax

This commit is contained in:
Patrick Shriwise 2022-07-29 02:03:03 -05:00
parent bdf6de5e51
commit 7b083c7b0c
2 changed files with 8 additions and 7 deletions

View file

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

View file

@ -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;
}