21 #ifndef OPM_PARALLELFILEMERGER_HEADER_INCLUDED
22 #define OPM_PARALLELFILEMERGER_HEADER_INCLUDED
36 namespace fs = ::std::filesystem;
51 const std::string& deckname,
52 bool show_fallout =
false);
54 void operator()(
const fs::path& file);
61 void appendFile(std::ofstream& of,
const fs::path& file,
const std::string& rank);
64 std::regex debugFileRegex_;
66 std::regex logFileRegex_;
68 std::regex fileWarningRegex_;
70 std::unique_ptr<std::ofstream> debugStream_;
72 std::unique_ptr<std::ofstream> logStream_;
A functor that merges multiple files of a parallel run to one file.
Definition: ParallelFileMerger.hpp:45
ParallelFileMerger(const fs::path &output_dir, const std::string &deckname, bool show_fallout=false)
Constructor.
Definition: ParallelFileMerger.cpp:29
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:27