mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Octave: Use 1-based IJK for riGetWellCells
This commit is contained in:
parent
d1f8f383c4
commit
ab31222efa
@ -311,9 +311,9 @@ public:
|
|||||||
int branchId = resPoint.m_ertBranchId;
|
int branchId = resPoint.m_ertBranchId;
|
||||||
int segmentId = resPoint.m_ertSegmentId;
|
int segmentId = resPoint.m_ertSegmentId;
|
||||||
|
|
||||||
cellIs .push_back( static_cast<qint32>(i) );
|
cellIs .push_back( static_cast<qint32>(i + 1) ); // NB: 1-based index in Octave
|
||||||
cellJs .push_back( static_cast<qint32>(j) );
|
cellJs .push_back( static_cast<qint32>(j + 1) ); // NB: 1-based index in Octave
|
||||||
cellKs .push_back( static_cast<qint32>(k) );
|
cellKs .push_back( static_cast<qint32>(k + 1) ); // NB: 1-based index in Octave
|
||||||
gridIndices .push_back( static_cast<qint32>(gridIdx) );
|
gridIndices .push_back( static_cast<qint32>(gridIdx) );
|
||||||
cellStatuses.push_back( static_cast<qint32>(isOpen) );
|
cellStatuses.push_back( static_cast<qint32>(isOpen) );
|
||||||
branchIds .push_back( branchId );
|
branchIds .push_back( branchId );
|
||||||
|
Loading…
Reference in New Issue
Block a user