mesh generation
Asked by
Chaffra Affouda
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)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Garth Wells
- Solved:
- Last query:
- Last reply:
To post a message you must log in.