mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
Wellplanning: use updated MSW table data api (#13142)
* Update to use new table variable names aligned with opm common naming.
This commit is contained in:
10 files changed
+215
-182
No files matched your search
@@ -256,7 +256,8 @@ void RigMswDataFormatter::formatWelsegsTable( RifTextDataTableFormatter& formatt
|
||||
formatter.add( welsegsHeader.topLength );
|
||||
formatter.addOptionalValue( welsegsHeader.wellboreVolume );
|
||||
formatter.addStdString( welsegsHeader.infoType );
|
||||
formatter.addStdString( welsegsHeader.pressureComponents );
|
||||
formatter.addOptionalStdString( welsegsHeader.pressureComponents );
|
||||
formatter.addOptionalStdString( welsegsHeader.flowModel );
|
||||
formatter.rowCompleted();
|
||||
|
||||
// Column headers for segment data
|
||||
|
||||
@@ -42,7 +42,7 @@ struct WelsegsHeader
|
||||
double topLength; // TOPLEN
|
||||
std::optional<double> wellboreVolume; // WBORVOL
|
||||
std::string infoType; // TUBOPT
|
||||
std::string pressureComponents; // PRESOPT
|
||||
std::optional<std::string> pressureComponents; // PRESOPT
|
||||
std::optional<std::string> flowModel; // FLOWOPT
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user