resqpy.olio.grid_functions.infill_block_geometry
- resqpy.olio.grid_functions.infill_block_geometry(extent, depth, thickness, x, y, k_increase_direction='down', depth_zero_tolerance=0.01, x_y_zero_tolerance=0.01, vertical_cell_overlap_tolerance=0.01, snap_to_top_and_base=True, nudge=True)[source]
Scans logically vertical columns of cells setting depth (& thickness) of inactive cells.
- Parameters:
extent (
numpy integer vectorofshape (3,)) – corresponds to nk, nj and nidepth (
3D numpy float array) – shape matches extentthickness (
3D numpy float array) – shape matches extentx (
3D numpy float array) – shape matches extenty (
3D numpy float array) – shape matches extentk_increase_direction (
string, default'down') – direction of increasing K indices; either ‘up’ or ‘down’depth_zero_tolerance (
float, optional, default0.01) – maximum value for which the depth is considered zerovertical_cell_overlap_tolerance (
float, optional, default0.01) – maximum acceptable overlap of cells on inputsnap_to_top_and_base (
boolean, optional, defaultTrue) – when True, causes cells above topmost active and below deepest active to be populated with pinched out cells at the top and bottom faces respectivelynudge (
boolean, optional, defaultTrue) – when True causes the depth of cells with greater k to be moved to clean up overlap over pinchouts
Note
depth values are assumed more positive with increasing depth; zero values indicate inactive cells