21#ifndef OPM_PARALLELFILEMERGER_HEADER_INCLUDED
22#define OPM_PARALLELFILEMERGER_HEADER_INCLUDED
33namespace fs = ::std::filesystem;
49 const std::string& deckname,
50 bool show_fallout =
false);
59 void appendFile(std::ofstream& of,
const fs::path& file,
const std::string& rank);
62 std::regex debugFileRegex_;
64 std::regex logFileRegex_;
66 std::regex fileWarningRegex_;
68 std::unique_ptr<std::ofstream> debugStream_;
70 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:39