Skip to content

Commit

Permalink
Fix typing annotation of output type of GeometricModel in utils/fenic…
Browse files Browse the repository at this point in the history
…sx.py
  • Loading branch information
francesco-ballarin authored and Umberto Zerbinati committed Nov 6, 2024
1 parent f880395 commit 2499345
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ngsPETSc/utils/fenicsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2499345

Please sign in to comment.