resqpy.grid_surface.grid_surface_cuda

Cuda based grid surface intersection functionality for GPU processing.

Notes

use of this module requires accessible GPUs and the corresponding numba.cuda and cupy packages to be installed; currently excluded from automated unit tests due to those requirements

Functions

bisector_from_faces_cuda

Returns a numpy bool array denoting the bisection of the grid by the face sets, using GPUs.

find_faces_to_represent_surface_regular_cuda_mgpu

Returns a grid connection set containing those cell faces which are deemed to represent the surface, using GPUs.

find_faces_to_represent_surface_regular_cuda_sgpu

Returns a grid connection set containing those cell faces which are deemed to represent the surface, using GPUs.

project_polygons_to_surfaces

Maps the projection of a 3D polygon to 2D grid surfaces along a given axis, using GPUs.