I'm having a problem with the rectangle mesh.
the code is:
mesh = RectangleMesh(point(x0,y0), point(x1,y1), int((x1-x0)*n), int((y1-y0)*n), 'crossed')
the error I'm getting is:
NameError: global name 'point' is not defined
the full code is found here:
http://www.karlin.mff.cuni.cz/~blechta/fenics-tutorial/elasticity/doc.html
I changed the syntax of the arguments of the rectangle mesh, other than that what I'm trying to run is identical.
Any help would be appreciated.