diff --git a/BaseLib/FileTools.cpp b/BaseLib/FileTools.cpp index aa12b07946819c0e3fa7449cf746786c00e3326e..14779a3085d602b98c33082be2f953f98cbeb9ab 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 096d5c4eb37385c3ad2c4f6d7d37f7c151edf9a0..3dec4cd8ca47a4f7f170079f029fcc0b5b920b06 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 *