diff --git a/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp b/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp index 785714776aba55ace772c3ae027c5abe27e8ff29..3a526472cc669d8af9ebb89613e5b5dc89f7599d 100644 --- a/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp +++ b/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp @@ -216,7 +216,9 @@ void NodePartitionedMeshReader::readPropertiesBinary( std::ifstream is(fname_cfg.c_str(), std::ios::binary | std::ios::in); if (!is) { - WARN("Could not open file '%s' in binary mode.", fname_cfg.c_str()); + WARN("Could not open file '%s'.\n" + "\tYou can ignore this warning if the mesh does not contain %s-" + "wise property data.", fname_cfg.c_str(), item_type.data()); return; } std::size_t number_of_properties = 0; @@ -269,7 +271,9 @@ void NodePartitionedMeshReader::readPropertiesBinary( is.open(fname_val.c_str(), std::ios::binary | std::ios::in); if (!is) { - ERR("Could not open file '%s' in binary mode.", fname_val.c_str()); + ERR("Could not open file '%s'\n." + "\tYou can ignore this warning if the mesh does not contain %s-" + "wise property data.", fname_val.c_str(), item_type.data()); } readDomainSpecificPartOfPropertyVectors(vec_pvmd, *pvpmd, t, is, p);