resqpy.olio.grid_functionsΒΆ
Miscellaneous functions relating to grids.
Functions
Returns 'curved', 'straight' or 'vertical' for shape of pillar points. |
|
Return an int array of shape (NJ, NI) being number of cells to nearest split edge. |
|
Returns extent of grid derived from 7D corner points with all cells temporarily in I. |
|
Determine true ijk handedness from corner point data in pagoda style 7D array; returns 'right' or 'left'. |
|
Scans logically vertical columns of cells setting depth (& thickness) of inactive cells. |
|
Returns (2, 2) bool numpy array indicating which columns around a primary pillar are to the right of a line. |
|
Returns a random cell's (k,j,i) tuple for a cell with non-zero lengths on all 3 primary edges. |
|
Reorders corner point data in situ, to handle bizarre nexus orderings. |
|
Adjusts x and y values of corner points by a constant offset. |
|
Returns numpy array of shape (3, 2, 4, 3, 3) with axes being kji, -+, triangle within face, triangle corner, xyz. |