diff --git a/ngsPETSc/utils/fenicsx.py b/ngsPETSc/utils/fenicsx.py index 89ed326..e5d5b4d 100644 --- a/ngsPETSc/utils/fenicsx.py +++ b/ngsPETSc/utils/fenicsx.py @@ -30,8 +30,7 @@ def model_to_mesh(self, hmax: float, gdim: int = 2, [_MPI.Comm, int, int, dolfinx.cpp.graph.AdjacencyList_int32], dolfinx.cpp.graph.AdjacencyList_int32] = dolfinx.mesh.create_cell_partitioner(dolfinx.mesh.GhostMode.none), - transform: typing.Any = None, routine: typing.Any = None) -> typing.Tuple[dolfinx.mesh.Mesh, - dolfinx.cpp.mesh.MeshTags_int32,dolfinx.cpp.mesh.MeshTags_int32]: + transform: typing.Any = None, routine: typing.Any = None) -> dolfinx.mesh.Mesh: """Given a NetGen model, take all physical entities of the highest topological dimension and create the corresponding DOLFINx mesh.