Is there a way to have the maximum mesh size???
I've read the related question but the solution doesn't seem to work. This function MaxCellEdgeLength(domain) should return a real positive number right? Why using the code below the output is a string "maxcelledgelength"?????
from dolfin import *
from mshr import *
import numpy as np
# Create mesh
xlim, ylim = 2., 4.
size = 10*2
domain = Rectangle(Point(0., 0.), Point(xlim, ylim))
mesh = generate_mesh(domain,size)
hmax = MaxCellEdgeLength(mesh)
print hmax