mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Octave Interface: Added riGetWellCells
p4#: 22310
This commit is contained in:
@@ -177,6 +177,7 @@ DEFUN_DLD (riGetWellStatus, args, nargout,
|
||||
if (wellType.size() != wellStatus.size() )
|
||||
{
|
||||
error("riGetWellStatus: Inconsistent data received from ResInsight.\n");
|
||||
return octave_value();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -196,12 +197,10 @@ DEFUN_DLD (riGetWellStatus, args, nargout,
|
||||
Octave_map m;
|
||||
|
||||
m.assign(riOctavePlugin::wellStatus_WellType, cellValuesB);
|
||||
m.assign(riOctavePlugin::wellStatus_WellStatus, cellValuesC);
|
||||
m.assign(riOctavePlugin::wellStatus_WellStatus, cellValuesC);
|
||||
|
||||
return octave_value(m);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user