mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Python doc : Add more tables
This commit is contained in:
parent
8e8aeaed6d
commit
2497adf92c
@ -92,13 +92,9 @@ class Case (PdmObject):
|
|||||||
must be 'MATRIX_MODEL' or 'FRACTURE_MODEL'.
|
must be 'MATRIX_MODEL' or 'FRACTURE_MODEL'.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
Stream of cell info objects with the following attributes:
|
Stream of **CellInfo** objects
|
||||||
grid_index(int): grid the cell belongs to
|
|
||||||
parent_grid_index(int): parent of the grid the cell belongs to
|
|
||||||
coarsening_box_index(int): the coarsening box index
|
|
||||||
local_ijk(Vec3i: i(int), j(int), k(int)): local cell index in i, j, k directions.
|
|
||||||
parent_ijk(Vec3i: i(int), j(int), k(int)): cell index in parent grid in i, j, k.
|
|
||||||
|
|
||||||
|
See cellInfoForActiveCells() for detalis on the **CellInfo** class.
|
||||||
"""
|
"""
|
||||||
porosityModelEnum = Case_pb2.PorosityModelType.Value(porosityModel)
|
porosityModelEnum = Case_pb2.PorosityModelType.Value(porosityModel)
|
||||||
request = Case_pb2.CellInfoRequest(case_request=self.request,
|
request = Case_pb2.CellInfoRequest(case_request=self.request,
|
||||||
@ -113,12 +109,26 @@ class Case (PdmObject):
|
|||||||
must be 'MATRIX_MODEL' or 'FRACTURE_MODEL'.
|
must be 'MATRIX_MODEL' or 'FRACTURE_MODEL'.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
List of cell info objects with the following attributes:
|
List of **CellInfo** objects
|
||||||
grid_index(int): grid the cell belongs to
|
|
||||||
parent_grid_index(int): parent of the grid the cell belongs to
|
### CellInfo class description
|
||||||
coarsening_box_index(int): the coarsening box index
|
|
||||||
local_ijk(Vec3i: i(int), j(int), k(int)): local cell index in i, j, k directions.
|
Parameter | Description | Type
|
||||||
parent_ijk(Vec3i: i(int), j(int), k(int)): cell index in parent grid in i, j, k.
|
------------------------- | --------------------------------------------- | -----
|
||||||
|
grid_index | Index to grid | Integer
|
||||||
|
parent_grid_index | Index to parent grid | Integer
|
||||||
|
coarsening_box_index | Index to coarsening box | Integer
|
||||||
|
local_ijk | Cell index in IJK directions of local grid | Vec3i
|
||||||
|
parent_ijk | Cell index in IJK directions of parent grid | Vec3i
|
||||||
|
|
||||||
|
### Vec3i class description
|
||||||
|
|
||||||
|
Parameter | Description | Type
|
||||||
|
---------------- | -------------------------------------------- | -----
|
||||||
|
i | I grid index | Integer
|
||||||
|
j | J grid index | Integer
|
||||||
|
k | K grid index | Integer
|
||||||
|
|
||||||
"""
|
"""
|
||||||
activeCellInfoChunks = self.cellInfoForActiveCellsAsync()
|
activeCellInfoChunks = self.cellInfoForActiveCellsAsync()
|
||||||
receivedActiveCells = []
|
receivedActiveCells = []
|
||||||
|
Loading…
Reference in New Issue
Block a user