I am currently using the following to generate a 3d cylindrical geometry:
cylinder = Cylinder(Point(0, 0, lh), Point(0, 0, -lh), rad, rad)
geometry = cylinder
where lh is the half-length of the cylinder and rad is the radius.
I then create a tetrahedral mesh for the geometry like so:
mden = 20 # mesh density
mesh = generate_mesh(geometry, mden)
I am wondering if anyone knows of an explicit definition for this mesh density parameter. I have been searching through the documentation but I am unable to find anything on it. One thing is for certain, the mesh becomes finer with increasing mesh density.
Thanks in advance for any help here.