2D mesh generation via CGAL gives wrong result for non-convex domains
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
High
|
Unassigned |
Bug Description
I like the new feature to generate complex meshes directly. Here is a small example where I try to generate a stack of layers to be meshed. How do I build the mesh so that it generates the triangles only within the square boundaries?
____
______|
|||||||
|||||||
|||||||
from dolfin import *
t1 = 1.0
t2 = 0.5
w = 4
x1 = t1
x2 = x1+t2
vertices = [Point(0.0,0.0), Point(x1,0.0), Point(x1,
Point(x2,
mesh = Mesh()
PolygonalMeshGe
plot(mesh, interactive=True)
Related branches
Changed in dolfin: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in dolfin: | |
status: | Confirmed → Fix Committed |
Changed in dolfin: | |
status: | Fix Committed → Fix Released |