Hi
I have a rectangular domain. After meshing the domain:
from dolfin import *
mesh = RectangleMesh(Point(0,0), Point(4, 1), 8, 4, "right")
plot(mesh)
interactive()
It becomes like:
Now I want to increase the mesh density near the top and bottom edges.
How can I do that in FEniCS?
Thanks!