mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7563 HDF5 Export : Add support for defining how many threads to use
This commit is contained in:
@@ -1,25 +1,26 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2021 Equinor ASA
|
||||
//
|
||||
// ResInsight is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE.
|
||||
//
|
||||
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
||||
// for more details.
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#pragma once
|
||||
|
||||
// #include "RiaDefines.h"
|
||||
// #include "RiaFontCache.h"
|
||||
// #include "RiaGuiApplication.h"
|
||||
// #include "RiaQDateTimeTools.h"
|
||||
//
|
||||
// #include "cafAppEnum.h"
|
||||
// #include "cafPdmChildField.h"
|
||||
// #include "cafPdmField.h"
|
||||
// #include "cafPdmObject.h"
|
||||
//
|
||||
// // Include to make Pdm work for cvf::Color
|
||||
// #include "cafPdmFieldCvfColor.h"
|
||||
//
|
||||
// #include <QPageLayout>
|
||||
// #include <QPageSize>
|
||||
// #include <QStringList>
|
||||
//
|
||||
// #include <map>
|
||||
//
|
||||
// class RifReaderSettings;
|
||||
#include "cafAppEnum.h"
|
||||
#include "cafPdmField.h"
|
||||
#include "cafPdmObject.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -43,7 +44,9 @@ public:
|
||||
SummaryReaderMode summaryDataReader() const;
|
||||
bool useOptimizedSummaryDataFiles() const;
|
||||
bool createOptimizedSummaryDataFiles() const;
|
||||
bool createH5SummaryDataFiles() const;
|
||||
|
||||
bool createH5SummaryDataFiles() const;
|
||||
int createH5SummaryDataThreadCount() const;
|
||||
|
||||
protected:
|
||||
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
||||
@@ -58,6 +61,7 @@ private:
|
||||
caf::PdmField<bool> m_useOptimizedSummaryDataFile;
|
||||
|
||||
caf::PdmField<bool> m_createH5SummaryDataFile;
|
||||
caf::PdmField<int> m_createH5SummaryFileThreadCount;
|
||||
|
||||
caf::PdmField<SummaryReaderModeType> m_summaryReader;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user