We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The mesh export and import using XDMF file format does not appear to work for meshes with prismatic elements. It works for all other elements.
I prepared a small script to illustrate the error
import numpy as np # FeniCSx from dolfinx import mesh, io from mpi4py import MPI # Define mesh parameters comm = MPI.COMM_WORLD nel = 10 # number of elements per domain Dhi = mesh.create_box(comm, [np.array([0., 0., 0.]), np.array([1., 1., 1.])], [nel,nel,nel], cell_type=mesh.CellType.prism) with io.XDMFFile(comm, "box-pri6.xdmf", "w") as xdmf: xdmf.write_mesh(Dhi) with io.XDMFFile(comm, "box-pri6.xdmf", "r") as xdmf: Dhf = xdmf.read_mesh()
RuntimeError: Cannot recognise cell type. Unknown value: wedge
0.8.0
No response
I used a Docker image on a Windows 11
The text was updated successfully, but these errors were encountered:
Resolve #3351
abd0b62
Resolve #3351 (#3384)
f5a6252
Successfully merging a pull request may close this issue.
Summarize the issue
The mesh export and import using XDMF file format does not appear to work for meshes with prismatic elements. It works for all other elements.
How to reproduce the bug
I prepared a small script to illustrate the error
Minimal Example (Python)
Output (Python)
Version
0.8.0
DOLFINx git commit
No response
Installation
I used a Docker image on a Windows 11
Additional information
No response
The text was updated successfully, but these errors were encountered: