diff --git a/python/dolfinx/mesh.py b/python/dolfinx/mesh.py index adcabd7a7fa..4a2dadf9b93 100644 --- a/python/dolfinx/mesh.py +++ b/python/dolfinx/mesh.py @@ -28,14 +28,7 @@ create_cell_partitioner, exterior_facet_indices, to_string, - to_type, -) -from dolfinx.cpp.refinement import RefinementOption -from dolfinx.fem import CoordinateElement as _CoordinateElement -from dolfinx.fem import coordinate_element as _coordinate_element - -__all__ = [ - "meshtags_from_entities", + to_type "locate_entities", "locate_entities_boundary", "refine", @@ -316,7 +309,7 @@ def refine( redistribute: bool = True, ghost_mode: GhostMode = GhostMode.shared_facet, option: RefinementOption = RefinementOption.none, -) -> tuple[Mesh, npt.NDArray[np.int32], npt.NDArra[np.int8]]: +) -> tuple[Mesh, npt.NDArray[np.int32], npt.NDArray[np.int8]]: """Refine a mesh. Args: