dolfinx.cpp.geometry¶
Geometry module
Functions
|
|
|
Overloaded function. |
|
|
|
|
|
|
|
|
|
Classes
|
Overloaded function. |
- class dolfinx.cpp.geometry.BoundingBoxTree(*args, **kwargs)¶
Bases:
pybind11_builtins.pybind11_object
Overloaded function.
__init__(self: dolfinx.cpp.geometry.BoundingBoxTree, mesh: dolfinx.cpp.mesh.Mesh, tdim: int, padding: float = 0.0) -> None
__init__(self: dolfinx.cpp.geometry.BoundingBoxTree, mesh: dolfinx.cpp.mesh.Mesh, tdim: int, entity_indices: numpy.ndarray[numpy.int32], padding: float = 0.0) -> None
- create_global_tree(self: dolfinx.cpp.geometry.BoundingBoxTree, arg0: MPICommWrapper) dolfinx.cpp.geometry.BoundingBoxTree ¶
- get_bbox(self: dolfinx.cpp.geometry.BoundingBoxTree, arg0: int) List[List[float[3]][2]] ¶
- property num_bboxes¶
- dolfinx.cpp.geometry.compute_closest_entity(tree: dolfinx::geometry::BoundingBoxTree, p: List[float[3]], mesh: dolfinx.cpp.mesh.Mesh, R: float = -1) Tuple[int, float] ¶
- dolfinx.cpp.geometry.compute_collisions(*args, **kwargs)¶
Overloaded function.
compute_collisions(arg0: dolfinx::geometry::BoundingBoxTree, arg1: dolfinx::geometry::BoundingBoxTree) -> List[List[int[2]]]
compute_collisions(arg0: dolfinx::geometry::BoundingBoxTree, arg1: List[float[3]]) -> numpy.ndarray[numpy.int32]
- dolfinx.cpp.geometry.compute_collisions_point(arg0: dolfinx::geometry::BoundingBoxTree, arg1: List[float[3]]) numpy.ndarray[numpy.int32] ¶
- 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.select_colliding_cells(arg0: dolfinx.cpp.mesh.Mesh, arg1: numpy.ndarray[numpy.int32], arg2: List[float[3]], arg3: int) numpy.ndarray[numpy.int32] ¶
- dolfinx.cpp.geometry.squared_distance(arg0: dolfinx.cpp.mesh.Mesh, arg1: int, arg2: int, arg3: List[float[3]]) float ¶