21 #ifndef OPM_PARALLELFILEMERGER_HEADER_INCLUDED
22 #define OPM_PARALLELFILEMERGER_HEADER_INCLUDED
29 #include <opm/common/utility/FileSystem.hpp>
37 namespace fs = ::Opm::filesystem;
52 const std::string& deckname,
53 bool show_fallout =
false);
55 void operator()(
const fs::path& file);
62 void appendFile(std::ofstream& of,
const fs::path& file,
const std::string& rank);
65 std::regex debugFileRegex_;
67 std::regex logFileRegex_;
69 std::regex fileWarningRegex_;
71 std::unique_ptr<std::ofstream> debugStream_;
73 std::unique_ptr<std::ofstream> logStream_;
A functor that merges multiple files of a parallel run to one file.
Definition: ParallelFileMerger.hpp:46
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:26