21#ifndef OPM_PARALLELFILEMERGER_HEADER_INCLUDED
22#define OPM_PARALLELFILEMERGER_HEADER_INCLUDED
33namespace fs = ::std::filesystem;
48 const std::string& deckname,
49 bool show_fallout =
false);
58 void appendFile(std::ofstream& of,
const fs::path& file,
const std::string& rank);
61 std::regex debugFileRegex_;
63 std::regex logFileRegex_;
65 std::regex fileWarningRegex_;
67 std::unique_ptr<std::ofstream> debugStream_;
69 std::unique_ptr<std::ofstream> logStream_;
A functor that merges multiple files of a parallel run to one file.
Definition: ParallelFileMerger.hpp:42
void operator()(const fs::path &file)
ParallelFileMerger(const fs::path &output_dir, const std::string &deckname, bool show_fallout=false)
Constructor.
Definition: blackoilboundaryratevector.hh:37