resqpy.grid_surface.create_column_face_mesh_and_surface
- resqpy.grid_surface.create_column_face_mesh_and_surface(grid, col_ji0, axis, polarity, quad_triangles=True, as_single_layer=False)
Creates a Mesh and corresponding Surface representing a column face.
- Parameters:
grid (
grid.Grid object)col_ji0 (
int pair) – the column indices, zero basedaxis (
int) – 1 for J face, 2 fo I facepolarity (
int) – 0 for negative face, 1 for positivequad_triangles (
boolean, defaultTrue) – if True, 4 triangles are used per cell face; if False, 2 trianglesas_single_layer (
boolean, defaultFalse) – if True, only the top and basal points are used, with the results being equivalent to the grid being treated as a single layer
- Returns:
surface.Mesh, surface.Surface (or None, surface.Surface if grid has k gaps)