mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 06:38:13 -05:00
Adds support for all planned MSW tables
* Add test models and projects used to verify experimental MSW export * Fix text formatting of MSW tables * Completes porting of all MSW tables Supported keywords are `WELSEGS COMPSEGS WSEGVALV WSEGAICD`
This commit is contained in:
1 parent
ba92dfb825
commit
ddbef1c7b8
50 files changed
+27052
-264
No files matched your search
@@ -20,6 +20,8 @@
|
||||
|
||||
#include "RigCompletionData.h"
|
||||
|
||||
#include "RimWellPathAicdParameters.h"
|
||||
|
||||
#include "cvfVector3.h"
|
||||
|
||||
#include <gsl/gsl>
|
||||
@@ -41,6 +43,36 @@ class RimWellPath;
|
||||
namespace RicMswTableDataTools
|
||||
{
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
class AicdWsegvalveData
|
||||
{
|
||||
public:
|
||||
explicit AicdWsegvalveData( const QString& wellName,
|
||||
const QString& comment,
|
||||
int segmentNumber,
|
||||
double flowScalingFactor,
|
||||
bool isOpen,
|
||||
const std::array<double, AICD_NUM_PARAMS>& values )
|
||||
: m_wellName( wellName )
|
||||
, m_comment( comment )
|
||||
, m_segmentNumber( segmentNumber )
|
||||
, m_flowScalingFactor( flowScalingFactor )
|
||||
, m_isOpen( isOpen )
|
||||
, m_values( values )
|
||||
|
||||
{
|
||||
}
|
||||
|
||||
QString m_wellName;
|
||||
QString m_comment;
|
||||
int m_segmentNumber;
|
||||
double m_flowScalingFactor;
|
||||
bool m_isOpen;
|
||||
std::array<double, AICD_NUM_PARAMS> m_values;
|
||||
};
|
||||
|
||||
// New data collection functions (replace formatter versions)
|
||||
void collectWelsegsData( RigMswTableData& tableData,
|
||||
RicMswExportInfo& exportInfo,
|
||||
@@ -104,4 +136,8 @@ void collectCompletionWelsegsSegments( RigMswTableData& table
|
||||
double maxSegmentLength,
|
||||
int* segmentNumber );
|
||||
|
||||
void generateWsegAicdTableRecursively( RicMswExportInfo& exportInfo,
|
||||
gsl::not_null<const RicMswBranch*> branch,
|
||||
std::map<size_t, std::vector<AicdWsegvalveData>>& aicdValveData );
|
||||
|
||||
} // namespace RicMswTableDataTools
|
||||
Reference in new issue
Block a user