dolfinx.cpp.geometry

Geometry module

Classes

BoundingBoxTree_float32(self, mesh, dim, ...)

BoundingBoxTree_float64(self, mesh, dim, ...)

PointOwnershipData_float32(self, src_owner)

PointOwnershipData_float64(self, src_owner)

class dolfinx.cpp.geometry.BoundingBoxTree_float32(self, mesh: dolfinx.cpp.mesh.Mesh_float32, dim: int, entities: ndarray[dtype=int32, shape=(*), order='C', writable=False], padding: float = 0.0)

Bases: object

create_global_tree
get_bbox
property num_bboxes

(self) -> int

class dolfinx.cpp.geometry.BoundingBoxTree_float64(self, mesh: dolfinx.cpp.mesh.Mesh_float64, dim: int, entities: ndarray[dtype=int32, shape=(*), order='C', writable=False], padding: float = 0.0)

Bases: object

create_global_tree
get_bbox
property num_bboxes

(self) -> int

class dolfinx.cpp.geometry.PointOwnershipData_float32(self, src_owner: ndarray[dtype=int32, shape=(*), order='C', writable=False], dest_owners: ndarray[dtype=int32, shape=(*), order='C', writable=False], dest_points: ndarray[dtype=float32, shape=(*), order='C', writable=False], dest_cells: ndarray[dtype=int32, shape=(*), order='C', writable=False])

Bases: object

property dest_cells

(self) -> numpy.ndarray[dtype=int32, writable=False]

property dest_owners

(self) -> numpy.ndarray[dtype=int32, writable=False]

property dest_points

Destination point

property src_owner

(self) -> numpy.ndarray[dtype=int32, writable=False]

class dolfinx.cpp.geometry.PointOwnershipData_float64(self, src_owner: ndarray[dtype=int32, shape=(*), order='C', writable=False], dest_owners: ndarray[dtype=int32, shape=(*), order='C', writable=False], dest_points: ndarray[dtype=float64, shape=(*), order='C', writable=False], dest_cells: ndarray[dtype=int32, shape=(*), order='C', writable=False])

Bases: object

property dest_cells

(self) -> numpy.ndarray[dtype=int32, writable=False]

property dest_owners

(self) -> numpy.ndarray[dtype=int32, writable=False]

property dest_points

Destination point

property src_owner

(self) -> numpy.ndarray[dtype=int32, writable=False]