On Fri, 27 May 2011 09:36:23 -0300, Bernardo Rocha <bernardomartinsrocha(a)gmail.com>
I would like to create a simple triangular mesh like the following one, and
then refine it several times...how can I do it?
mesh_info = MeshInfo()
(0,0), (2500,0), (2500,2500), (0,2500),
mesh = build(mesh_info)
If I simply build I get 2 triangles only...that's not what I'm looking for.
But that's what you asked for. :)
On a more serious note, simply pass max_volume=1e-2 or so, or look at
how refinement_func is used in meshpy/test_triangle.py.