Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2301 has broken pyvista plotting #2382

Closed
francesco-ballarin opened this issue Sep 28, 2022 · 0 comments · Fixed by #2384
Closed

#2301 has broken pyvista plotting #2382

francesco-ballarin opened this issue Sep 28, 2022 · 0 comments · Fixed by #2384
Assignees
Labels
bug Something isn't working

Comments

@francesco-ballarin
Copy link
Member

import dolfinx.fem
import dolfinx.mesh
import mpi4py.MPI

comm = mpi4py.MPI.COMM_WORLD
mesh = dolfinx.mesh.create_unit_square(comm, 2 * comm.size, 2 * comm.size)
V = dolfinx.fem.FunctionSpace(mesh, ("Lagrange", 1))
print(V.ufl_element().family())  # prints "P", rather than "Lagrange"
dolfinx.plot.create_vtk_mesh(V)  # fails
@jorgensd jorgensd added the bug Something isn't working label Sep 28, 2022
@mscroggs mscroggs linked a pull request Sep 28, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants