mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Ported several commits from dev #5913 Import NNC : Do not compute NNCs if importNNCs is disabled in preferences #5914 Import faults : Avoid computation of faults if turned off in preferences #5925 NNC computations : Add flag in preferences to include inactive cells Allan : Do not test for cached data in pytest #5925 Simplify computation of fault data #5932 NNC data : Compute geometry when NNC data is asked for Remove obsolete parameters
53 lines
1.8 KiB
C++
53 lines
1.8 KiB
C++
/////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (C) Statoil ASA
|
|
// Copyright (C) Ceetron Solutions AS
|
|
//
|
|
// 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 "cafPdmField.h"
|
|
#include "cafPdmObject.h"
|
|
|
|
//==================================================================================================
|
|
///
|
|
///
|
|
//==================================================================================================
|
|
class RifReaderSettings : public caf::PdmObject
|
|
{
|
|
CAF_PDM_HEADER_INIT;
|
|
|
|
friend class RiaPreferences;
|
|
|
|
public:
|
|
RifReaderSettings();
|
|
|
|
caf::PdmField<bool> importFaults;
|
|
caf::PdmField<bool> importNNCs;
|
|
caf::PdmField<bool> includeInactiveCellsInFaultGeometry;
|
|
caf::PdmField<bool> importAdvancedMswData;
|
|
caf::PdmField<QString> includeFileAbsolutePathPrefix;
|
|
caf::PdmField<bool> useResultIndexFile;
|
|
caf::PdmField<bool> skipWellData;
|
|
|
|
private:
|
|
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
|
QString uiConfigName,
|
|
caf::PdmUiEditorAttribute* attribute ) override;
|
|
|
|
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
|
};
|