Summarize the issue
I don't have time to write a MWE. I use FEniCSx v 0.1 (latest stable at the moment).
I have a mesh coming from Gmsh that I read with the dolfinx api.
I know how to fix the problem, so this isn't urgent, but still, I don't believe FEniCSx should core dump without leaving any trace of the error.
The code:
dim = mesh.topology.dim
volt_boundary_dofs = locate_dofs_topological(ME.sub(1), dim-1, bottom_facets)
where bottom_facets is worth facet_markers.find(12). This code is fine.
But if I accidentally put a left_dofs_temp = locate_dofs_topological(ME.sub(0), mesh.topology.dim-1, bottom_facets) instead of the bottom_facets... then the program core dumps.
How to reproduce the bug
No MWE at the moment.
Minimal Example (Python)
Output (Python)
zsh: segmentation fault (core dumped) /home/user/.conda/envs/fenicsx_0dot1_-env/bin/python
Version
main branch
DOLFINx git commit
No response
Installation
No response
Additional information
No response
Summarize the issue
I don't have time to write a MWE. I use FEniCSx v 0.1 (latest stable at the moment).
I have a mesh coming from Gmsh that I read with the dolfinx api.
I know how to fix the problem, so this isn't urgent, but still, I don't believe FEniCSx should core dump without leaving any trace of the error.
The code:
where bottom_facets is worth facet_markers.find(12). This code is fine.
But if I accidentally put a left_dofs_temp = locate_dofs_topological(ME.sub(0), mesh.topology.dim-1, bottom_facets) instead of the bottom_facets... then the program core dumps.
How to reproduce the bug
No MWE at the moment.
Minimal Example (Python)
Output (Python)
Version
main branch
DOLFINx git commit
No response
Installation
No response
Additional information
No response