Opm::detail::ParallelFileMerger Class Reference

A functor that merges multiple files of a parallel run to one file. More...

#include <ParallelFileMerger.hpp>

List of all members.

Public Member Functions

 ParallelFileMerger (const fs::path &output_dir, const std::string &deckname)
 Constructor.
void operator() (const fs::path &file)

Detailed Description

A functor that merges multiple files of a parallel run to one file.

Without care multiple processes might log messages in a parallel run. Non-root processes will do that to seperate files <basename>.<rank>.<extension. This functor will append those file to usual ones and delete the other files.


Constructor & Destructor Documentation

Opm::detail::ParallelFileMerger::ParallelFileMerger ( const fs::path &  output_dir,
const std::string &  deckname 
) [inline]

Constructor.

Parameters:
output_dir The output directory to use for reading/Writing.
deckanme The name of the deck.

The documentation for this class was generated from the following file:

Generated on 26 Mar 2018 by  doxygen 1.6.1