diff --git a/MeshLib/MeshEditing/ConvertToLinearMesh.cpp b/MeshLib/MeshEditing/ConvertToLinearMesh.cpp index 959d6d89dfebd3273e471abe887cc23c727ac472..56f70547cb74b4e9c119c3fca619f1412f443dd6 100644 --- a/MeshLib/MeshEditing/ConvertToLinearMesh.cpp +++ b/MeshLib/MeshEditing/ConvertToLinearMesh.cpp @@ -45,8 +45,7 @@ T_ELEMENT* createLinearElement(MeshLib::Element const* e, { OGS_FATAL( "A base node {:d} (with original global node id {:d}) not " - "found in " - "the list for element {:d}.", + "found in the list for element {:d}.", i, e->getNode(i)->getID(), e->getID()); } nodes[i] = const_cast<MeshLib::Node*>(*it); diff --git a/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp b/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp index 973d46ec42445a42c05e54cb5b6d4f29165417e3..a7f588aae8c16f99210eb9a77b8887983b888e5f 100644 --- a/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp +++ b/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp @@ -39,8 +39,7 @@ bool Mesh2MeshPropertyInterpolation::setPropertiesForMesh(Mesh& dest_mesh) const if (_src_mesh.getDimension() != dest_mesh.getDimension()) { ERR("MeshLib::Mesh2MeshPropertyInterpolation::setPropertiesForMesh() " "dimension of source (dim = {:d}) and destination (dim = {:d}) " - "mesh " - "does not match.", + "mesh does not match.", _src_mesh.getDimension(), dest_mesh.getDimension()); return false; } diff --git a/MeshLib/MeshGenerators/LayeredMeshGenerator.cpp b/MeshLib/MeshGenerators/LayeredMeshGenerator.cpp index d7ee063c5792cf4b412cdb29c17547368df5015c..8f26863354c12c3a861fbef05df7a0d523053e75 100644 --- a/MeshLib/MeshGenerators/LayeredMeshGenerator.cpp +++ b/MeshLib/MeshGenerators/LayeredMeshGenerator.cpp @@ -65,7 +65,11 @@ LayeredMeshGenerator::getMesh(std::string const& mesh_name) const std::back_inserter(*materials)); } else - WARN ("Skipping MaterialID information, number of entries does not match element number"); + { + WARN( + "Skipping MaterialID information, number of entries does not match " + "element number"); + } std::unique_ptr<MeshLib::Mesh> result(new MeshLib::Mesh(mesh_name, _nodes, _elements, properties)); MeshLib::NodeSearch ns(*result); diff --git a/MeshLib/MeshSubset.h b/MeshLib/MeshSubset.h index c4ea7e4dd1be85fa47e0e07c02ef1783ea02fc6e..b514b86151301d2f50945bd73514221eddc2a54a 100644 --- a/MeshLib/MeshSubset.h +++ b/MeshLib/MeshSubset.h @@ -54,8 +54,7 @@ public: if (it == end(mesh_nodes)) { ERR("A node {:d} ({:g}, {:g}, {:g}) in mesh subset is not " - "a part " - "of the mesh.", + "a part of the mesh.", n->getID(), (*n)[0], (*n)[1], (*n)[2]); return false; } diff --git a/MeshLib/MeshSurfaceExtraction.cpp b/MeshLib/MeshSurfaceExtraction.cpp index 354a43ae568e8d0f7b3d7542ff5f539ac53aef81..20c3973bf76f1cff19f00880ed765ba88c1510f6 100644 --- a/MeshLib/MeshSurfaceExtraction.cpp +++ b/MeshLib/MeshSurfaceExtraction.cpp @@ -84,8 +84,7 @@ bool createSfcMeshProperties(MeshLib::Mesh& sfc_mesh, if (element_ids_map.size() != n_elems) { ERR("createSfcMeshProperties() - Incorrect number of element IDs " - "({:d}) " - "compared to actual number of surface elements ({:d}).", + "({:d}) compared to actual number of surface elements ({:d}).", element_ids_map.size(), n_elems); return false; } diff --git a/MeshLib/Vtk/VtkMappedMeshSource.cpp b/MeshLib/Vtk/VtkMappedMeshSource.cpp index 064dff910b958547e30b328125e0a45f7a67f2ee..692a087aae97cc2a248026275da007b8a6c221ff 100644 --- a/MeshLib/Vtk/VtkMappedMeshSource.cpp +++ b/MeshLib/Vtk/VtkMappedMeshSource.cpp @@ -173,8 +173,7 @@ int VtkMappedMeshSource::RequestData(vtkInformation* /*request*/, OGS_FATAL( "Mesh property '{:s}' with unknown data type. Please check the " - "data " - "type of the mesh properties. The available data types are:" + "data type of the mesh properties. The available data types are:" "\n\t double," "\n\t float," "\n\t int,"