From 2499345db59f19743f923639b91de70f310dcc74 Mon Sep 17 00:00:00 2001 From: Francesco Ballarin Date: Sun, 3 Nov 2024 18:11:03 +0100 Subject: [PATCH] Fix typing annotation of output type of GeometricModel in utils/fenicsx.py --- ngsPETSc/utils/fenicsx.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.