#7563 HDF5 Export : Add support for defining how many threads to use

This commit is contained in:
Magne Sjaastad committed 2021-04-14 13:53:21 +02:00
1 parent 6bc6ffda15
commit 27e3bc1b56
8 files changed
+181 -53

No files matched your search

@@ -40,7 +40,13 @@ namespace EclIO
class RifHdf5SummaryExporter
{
public:
static bool ensureHdf5FileIsCreated( const std::string& smspecFileName, const std::string& h5FileName );
static bool ensureHdf5FileIsCreatedMultithreaded( const std::vector<std::string>& smspecFileNames,
const std::vector<std::string>& h5FileNames,
int threadCount );
static bool ensureHdf5FileIsCreated( const std::string& smspecFileName,
const std::string& h5FileName,
size_t& hdfFilesCreatedCount );
private:
static bool writeGeneralSection( RifHdf5Exporter& exporter, Opm::EclIO::ESmry& sourceSummaryData );