Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Octave function riGetWellCell index reference starting point #90

Closed
hhgs opened this issue Oct 4, 2013 · 1 comment
Closed

Octave function riGetWellCell index reference starting point #90

hhgs opened this issue Oct 4, 2013 · 1 comment
Labels
Bug Bug not yet in an official release

Comments

@hhgs
Copy link
Member

hhgs commented Oct 4, 2013

The Octave function riGetWellCell index reference starting point should be (1,1,1) for I/J/K and 1 for BranchId and SegmentId and not 0 to be consistent with simulation input.


Vector[WellCellInfo] riGetWellCells([CaseId], WellName, TimeStep)
This function returns the cells defined in the specified well for the time step requested as a vector of Structures. The Structure is defined as:
WellCellInfo {
I, J, K = int # Index to the cell in the grid
GridIndex = int # the index of the grid. Main grid has index 0.
CellStatus = int # is either 0 or 1, meaning the cell is closed or open respectively
BranchId = int # Branch id of the branch intersecting the cell
SegmentId = int # Branch segment id of the branch intersecting the cell

@magnesj
Copy link
Member

magnesj commented Oct 8, 2013

Integrated 1-based indexes for branch and segment IDs
https://github.com/Ensembles/ert/tree/0f9e82055442f13a6388c34687d59f1acfdb37f7

@magnesj magnesj closed this as completed Oct 8, 2013
@magnesj magnesj reopened this Oct 8, 2013
@magnesj magnesj closed this as completed Oct 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug not yet in an official release
Projects
None yet
Development

No branches or pull requests

2 participants