2018-12-06 04:32:59 -06:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2018 Equinor ASA
|
2019-09-06 03:40:57 -05:00
|
|
|
//
|
2018-12-06 04:32:59 -06:00
|
|
|
// 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.
|
2019-09-06 03:40:57 -05:00
|
|
|
//
|
2018-12-06 04:32:59 -06:00
|
|
|
// 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.
|
2019-09-06 03:40:57 -05:00
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
2018-12-06 04:32:59 -06:00
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-01-21 05:58:46 -06:00
|
|
|
#include "RiaDefines.h"
|
2018-12-06 04:32:59 -06:00
|
|
|
|
2021-02-26 07:27:59 -06:00
|
|
|
#include "RicMswBranch.h"
|
2018-12-06 04:32:59 -06:00
|
|
|
#include "RicMswSegment.h"
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
class RimWellPath;
|
2021-02-26 07:27:59 -06:00
|
|
|
class RimFishbones;
|
2018-12-06 04:32:59 -06:00
|
|
|
|
|
|
|
//==================================================================================================
|
|
|
|
///
|
|
|
|
//==================================================================================================
|
|
|
|
class RicMswExportInfo
|
|
|
|
{
|
|
|
|
public:
|
2021-01-21 05:58:46 -06:00
|
|
|
RicMswExportInfo( const RimWellPath* wellPath,
|
|
|
|
RiaDefines::EclipseUnitSystem unitSystem,
|
|
|
|
double initialMD,
|
|
|
|
const QString& lengthAndDepthText,
|
|
|
|
const QString& pressureDropText );
|
2018-12-06 04:32:59 -06:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
void setHasSubGridIntersections( bool subGridIntersections );
|
|
|
|
|
2021-01-21 05:58:46 -06:00
|
|
|
RiaDefines::EclipseUnitSystem unitSystem() const;
|
|
|
|
double topWellBoreVolume() const;
|
|
|
|
QString lengthAndDepthText() const;
|
|
|
|
QString pressureDropText() const;
|
|
|
|
bool hasSubGridIntersections() const;
|
|
|
|
static double defaultDoubleValue();
|
2018-12-06 04:32:59 -06:00
|
|
|
|
2021-02-26 07:27:59 -06:00
|
|
|
const RicMswBranch* mainBoreBranch() const;
|
|
|
|
RicMswBranch* mainBoreBranch();
|
2018-12-06 04:32:59 -06:00
|
|
|
|
|
|
|
private:
|
2021-01-21 05:58:46 -06:00
|
|
|
RiaDefines::EclipseUnitSystem m_unitSystem;
|
|
|
|
double m_topWellBoreVolume;
|
|
|
|
QString m_lengthAndDepthText;
|
|
|
|
QString m_pressureDropText;
|
|
|
|
bool m_hasSubGridIntersections;
|
2019-09-06 03:40:57 -05:00
|
|
|
|
2021-02-26 07:27:59 -06:00
|
|
|
std::unique_ptr<RicMswBranch> m_mainBoreBranch;
|
2018-12-06 04:32:59 -06:00
|
|
|
};
|