21 #ifndef OPM_PARALLELFILEMERGER_HEADER_INCLUDED 22 #define OPM_PARALLELFILEMERGER_HEADER_INCLUDED 33 namespace fs = ::std::filesystem;
49 const std::string& deckname,
50 bool show_fallout =
false);
52 void operator()(
const fs::path& file);
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_;
78 #endif // end header guard This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
A functor that merges multiple files of a parallel run to one file.
Definition: ParallelFileMerger.hpp:41
ParallelFileMerger(const fs::path &output_dir, const std::string &deckname, bool show_fallout=false)
Constructor.
Definition: ParallelFileMerger.cpp:32