2017-05-16 02:43:41 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2017- Statoil 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.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "RimExportCompletionDataSettings.h"
|
|
|
|
|
2017-05-23 08:38:10 -05:00
|
|
|
namespace caf {
|
|
|
|
template<>
|
|
|
|
void RimExportCompletionDataSettings::PressureDropEnum::setUp()
|
|
|
|
{
|
|
|
|
addItem(RimExportCompletionDataSettings::HYDROSTATIC, "H--", "Hydrostatic");
|
|
|
|
addItem(RimExportCompletionDataSettings::HYDROSTATIC_FRICTION, "HF-", "Hydrostatic + Friction");
|
|
|
|
addItem(RimExportCompletionDataSettings::HYDROSTATIC_FRICTION_ACCELERATION, "HFA", "Hydrostatic + Friction + Acceleration");
|
|
|
|
setDefault(RimExportCompletionDataSettings::HYDROSTATIC);
|
|
|
|
}
|
2017-05-23 08:51:07 -05:00
|
|
|
|
|
|
|
template<>
|
|
|
|
void RimExportCompletionDataSettings::LengthAndDepthEnum::setUp()
|
|
|
|
{
|
|
|
|
addItem(RimExportCompletionDataSettings::INC, "INC", "Incremental");
|
|
|
|
addItem(RimExportCompletionDataSettings::ABS, "ABS", "Absolute");
|
|
|
|
setDefault(RimExportCompletionDataSettings::INC);
|
|
|
|
}
|
2017-05-23 08:38:10 -05:00
|
|
|
}
|
|
|
|
|
2017-05-16 02:43:41 -05:00
|
|
|
CAF_PDM_SOURCE_INIT(RimExportCompletionDataSettings, "RimExportCompletionDataSettings");
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
///
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
RimExportCompletionDataSettings::RimExportCompletionDataSettings()
|
|
|
|
{
|
|
|
|
CAF_PDM_InitObject("RimExportCompletionDataSettings", "", "", "");
|
|
|
|
|
2017-05-19 09:45:07 -05:00
|
|
|
CAF_PDM_InitField(&includeWpimult, "IncludeWPIMULT", true, "Include WPIMLUT", "", "", "");
|
|
|
|
CAF_PDM_InitField(&removeLateralsInMainBoreCells, "RemoveLateralsInMainBoreCells", false, "Remove Laterals in Main Bore Cells", "", "", "");
|
2017-05-23 08:38:10 -05:00
|
|
|
CAF_PDM_InitFieldNoDefault(&pressureDrop, "PressureDrop", "Pressure Drop", "", "", "");
|
2017-05-23 08:51:07 -05:00
|
|
|
CAF_PDM_InitFieldNoDefault(&lengthAndDepth, "LengthAndDepth", "Length and Depth", "", "", "");
|
2017-05-16 02:43:41 -05:00
|
|
|
}
|