Apply templated write_message to mesh.cpp

This commit is contained in:
Andrew Johnson 2020-08-02 22:11:51 -04:00
parent 2113c4c06b
commit 1ae1d9dc8f
No known key found for this signature in database
GPG key ID: 253418E91B7F6FEB

View file

@ -2051,7 +2051,7 @@ void
UnstructuredMesh::write(std::string base_filename) const {
// add extension to the base name
auto filename = base_filename + ".vtk";
write_message("Writing unstructured mesh " + filename + "...", 5);
write_message(5, "Writing unstructured mesh {}...", filename);
filename = settings::path_output + filename;
// write the tetrahedral elements of the mesh only