dolfinx.cpp.geometry

Geometry module

Functions

compute_closest_entity(tree, midpoint_tree, ...)

compute_colliding_cells(arg0, arg1, arg2)

compute_collisions(*args, **kwargs)

Overloaded function.

compute_distance_gjk(arg0, arg1)

create_midpoint_tree(arg0, arg1, arg2)

squared_distance(arg0, arg1, arg2, arg3)

Classes

BoundingBoxTree(self, mesh, dim, entities, ...)

class dolfinx.cpp.geometry.BoundingBoxTree(self: dolfinx.cpp.geometry.BoundingBoxTree, mesh: dolfinx.cpp.mesh.Mesh, dim: int, entities: numpy.ndarray[numpy.int32], padding: float) None

Bases: pybind11_builtins.pybind11_object

create_global_tree(self: dolfinx.cpp.geometry.BoundingBoxTree, arg0: MPICommWrapper) dolfinx.cpp.geometry.BoundingBoxTree
get_bbox(self: dolfinx.cpp.geometry.BoundingBoxTree, arg0: int) numpy.ndarray[numpy.float64]
property num_bboxes
dolfinx.cpp.geometry.compute_closest_entity(tree: dolfinx::geometry::BoundingBoxTree, midpoint_tree: dolfinx::geometry::BoundingBoxTree, mesh: dolfinx.cpp.mesh.Mesh, points: numpy.ndarray[numpy.float64]) numpy.ndarray[numpy.int32]
dolfinx.cpp.geometry.compute_colliding_cells(arg0: dolfinx.cpp.mesh.Mesh, arg1: dolfinx.cpp.graph.AdjacencyList_int32, arg2: numpy.ndarray[numpy.float64]) Union[dolfinx.cpp.graph.AdjacencyList_int32, numpy.ndarray[numpy.int32]]
dolfinx.cpp.geometry.compute_collisions(*args, **kwargs)

Overloaded function.

  1. compute_collisions(arg0: dolfinx::geometry::BoundingBoxTree, arg1: numpy.ndarray[numpy.float64]) -> dolfinx.cpp.graph.AdjacencyList_int32

  2. compute_collisions(arg0: dolfinx::geometry::BoundingBoxTree, arg1: dolfinx::geometry::BoundingBoxTree) -> List[List[int[2]]]

dolfinx.cpp.geometry.compute_distance_gjk(arg0: numpy.ndarray[numpy.float64], arg1: numpy.ndarray[numpy.float64]) numpy.ndarray[numpy.float64]
dolfinx.cpp.geometry.create_midpoint_tree(arg0: dolfinx.cpp.mesh.Mesh, arg1: int, arg2: numpy.ndarray[numpy.int32]) dolfinx::geometry::BoundingBoxTree
dolfinx.cpp.geometry.squared_distance(arg0: dolfinx.cpp.mesh.Mesh, arg1: int, arg2: List[int], arg3: numpy.ndarray[numpy.float64]) numpy.ndarray[numpy.float64]