From e680f8085b71dfa3d369a29afb31cb4043eb1ef8 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Mon, 4 May 2020 06:03:06 +0200 Subject: [PATCH] [BL] Remove unused fct. 'constructFileName'. --- BaseLib/FileTools.cpp | 9 --------- BaseLib/FileTools.h | 5 ----- 2 files changed, 14 deletions(-) diff --git a/BaseLib/FileTools.cpp b/BaseLib/FileTools.cpp index aa12b079468..14779a3085d 100644 --- a/BaseLib/FileTools.cpp +++ b/BaseLib/FileTools.cpp @@ -140,15 +140,6 @@ std::string constructFormattedFileName(std::string const& format_specification, return result; } -std::string constructFileName(std::string const& prefix, - int const process_id, - int const timestep, - double const t) -{ - return prefix + "_pcs_" + std::to_string(process_id) + "_ts_" + - std::to_string(timestep) + "_t_" + std::to_string(t); -} - double swapEndianness(double const& v) { union diff --git a/BaseLib/FileTools.h b/BaseLib/FileTools.h index 096d5c4eb37..3dec4cd8ca4 100644 --- a/BaseLib/FileTools.h +++ b/BaseLib/FileTools.h @@ -47,11 +47,6 @@ std::string constructFormattedFileName(std::string const& prefix, int const timestep, double const t); -std::string constructFileName(std::string const& prefix, - int const process_id, - int const timestep, - double const t); - /** * \brief write value as binary into the given output stream * -- GitLab