mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-05 21:53:27 -06:00
37e29a0f68
- add the operator<=> for QString - add operator<=> to fracture report item
102 lines
3.7 KiB
C++
102 lines
3.7 KiB
C++
/////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (C) 2018- 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 "RiaTextStringTools.h"
|
|
|
|
#include <QString>
|
|
|
|
//==================================================================================================
|
|
///
|
|
//==================================================================================================
|
|
class RicWellPathFractureReportItem
|
|
{
|
|
public:
|
|
RicWellPathFractureReportItem( const QString& wellPathNameForExport, const QString& fractureName, const QString& fractureTemplateName );
|
|
|
|
void setData( double trans, size_t connCount, double area );
|
|
void setWidthAndConductivity( double width, double conductivity );
|
|
void setHeightAndHalfLength( double height, double halfLength );
|
|
void setAreaWeightedPermeability( double permeability );
|
|
void setUnitSystem( RiaDefines::EclipseUnitSystem unitSystem );
|
|
void setPressureDepletionParameters( bool performPressureDepletionScaling,
|
|
const QString& timeStepString,
|
|
const QString& wbhpString,
|
|
double userWBHP,
|
|
double actualWBHP,
|
|
double minPressureDrop,
|
|
double maxPressureDrop );
|
|
|
|
QString wellPathNameForExport() const;
|
|
QString fractureName() const;
|
|
QString fractureTemplateName() const;
|
|
|
|
RiaDefines::EclipseUnitSystem unitSystem() const;
|
|
|
|
double transmissibility() const;
|
|
size_t connectionCount() const;
|
|
double fcd() const;
|
|
double area() const;
|
|
|
|
double kfwf() const;
|
|
double kf() const;
|
|
double wf() const;
|
|
|
|
double xf() const;
|
|
double h() const;
|
|
double km() const;
|
|
double kmxf() const;
|
|
|
|
bool performPressureDepletionScaling() const;
|
|
QString pressureDepletionTimeStepString() const;
|
|
QString pressureDepletionWBHPString() const;
|
|
double pressureDepletionUserWBHP() const;
|
|
double pressureDepletionActualWBHP() const;
|
|
double pressureDepletionMinPressureDrop() const;
|
|
double pressureDepletionMaxPressureDrop() const;
|
|
|
|
auto operator<=>( const RicWellPathFractureReportItem& rhs ) const = default;
|
|
|
|
private:
|
|
RiaDefines::EclipseUnitSystem m_unitSystem;
|
|
QString m_wellPathNameForExport;
|
|
QString m_wellPathFracture;
|
|
QString m_wellPathFractureTemplate;
|
|
|
|
double m_transmissibility;
|
|
size_t m_connectionCount;
|
|
double m_area;
|
|
|
|
double m_kfwf;
|
|
double m_kf;
|
|
double m_wf;
|
|
double m_xf;
|
|
double m_h;
|
|
double m_km;
|
|
|
|
bool m_performPressureDepletionScaling;
|
|
QString m_pressureDepletionTimeStepString;
|
|
QString m_pressureDepletionWBHPString;
|
|
double m_pressureDepletionUserWBHP;
|
|
double m_pressureDepletionActualWBHP;
|
|
double m_pressureDepletionMinPressureDrop;
|
|
double m_pressureDepletionMaxPressureDrop;
|
|
};
|