Subdomain error in dolfin_fine_subdomains.xml
There seems to be something wrong in the marking of the boundaries in dolfin_fine_subdomains.xml on fenicsproject.org/pub/data/meshes/.
Comments (13)
-
-
reporter - attached dolfin_plot_0.png
-
reporter The attached plot shows the problem.
-
You've attached a figure. Johan asked for a code example.
-
reporter mesh = Mesh("dolfin_fine.xml.gz") sub_domains = MeshFunction("size_t", mesh, "dolfin_fine_subdomains.xml.gz") plot(sub_domains)
-
Indeed it looks screwed up, thanks for reporting. Next time please provide a minimal, but runnable code example, not just minimal ;) And a short instruction of where one should run the code would also help :)
-
reporter OK, thanks.
-
- attached dolfin_fine_subdomains.xml.gz
This file should fix the issue. Someone with the correct knowhow and/or privileges should up load it to the server.
-
reporter This looks much better, but I thought the inner boundary (around the dolphin) also should be marked.
-
- attached dolfin_fine_subdomains.xml.gz
Good catch! Here is a new one.
-
reporter This looks perfect, thanks!
-
Issue
#128was marked as a duplicate of this issue. -
- changed status to resolved
Fixed by uploading a corrected subdomain file to fenicsproject.org server
- Log in to comment
Please provide a minimal code example showing what the problem is.