dolfinx.cpp.geometry

Geometry module

Functions

compute_closest_entity(tree, p, mesh, R)

compute_collisions(arg0, arg1)

compute_collisions_point(arg0, arg1)

compute_distance_gjk(arg0, arg1)

create_midpoint_tree(arg0, arg1, arg2)

select_colliding_cells(arg0, arg1, arg2, arg3)

squared_distance(arg0, arg1, arg2, arg3)

Classes

BoundingBoxTree(*args, **kwargs)

Overloaded function.

class dolfinx.cpp.geometry.BoundingBoxTree(*args, **kwargs)

Bases: pybind11_builtins.pybind11_object

Overloaded function.

  1. __init__(self: dolfinx.cpp.geometry.BoundingBoxTree, mesh: dolfinx.cpp.mesh.Mesh, tdim: int, padding: float = 0.0) -> None

  2. __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(arg0: dolfinx::geometry::BoundingBoxTree, arg1: dolfinx::geometry::BoundingBoxTree)List[List[int[2]]]
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