- changed status to resolved
set_subdomain breaks meshing if too big geometry
Issue #33
resolved
In case of trying to create mesh with subdomains, it fails if the subdomain geometry is too large. Too large would be any rectangle with a side bigger than 4.5 for some reason.
The error I get is: <Mesh of topological dimension 2 (triangles) with 6 vertices and 0 cells, ordered> Warning: Mesh is empty, unable to create entities of dimension 0. Warning: Mesh is empty, unable to create connectivity 2 --> 0.
If I change the dimension "ending" to 4.5, it succeeds: <Mesh of topological dimension 2 (triangles) with 2038 vertices and 3925 cells, ordered>
Comments (1)
-
- Log in to comment
This is caused by the same bug that caused https://bitbucket.org/fenics-project/mshr/issues/30/problem-creating-function-space . I have pushed a fix now.