unstruct⚓︎
Convert cornerpoint grids to unstructured grids.
Examples:
>>> import pyresito.grid.unstruct as us
>>> import pyresito.io.grdecl as grdecl
>>> g = grdecl.read('~/proj/cmgtools/bld/overlap.grdecl')
Face
⚓︎
Bases: object
A (vertical) face consists of two ridges, because all of the faces in a hexahedron can be seen as (possibly degenerate) quadrilaterals.
Ridge
⚓︎
Bases: object
A ridge consists of two points, anchored in each their pillar. We only need to store the z-values, because the x- and y- values are determined by the pillar themselves.
is_not_below(other)
⚓︎
Weak ordering of ridges based on vertical placement.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
other
|
Ridge
|
Ridge to be compared to this object. |
required |
Returns:
Type | Description |
---|---|
bool or None
|
True if no point on self is below any on the other, None if the ridges cross, and False if there is a point on the other ridge that is above any on self. |