In the following, does "mesh_size" refer to the maximum perimeter or maximum area of each element?
with pygmsh.geo.Geometry() as geom:
geom.add_polygon(
[
[0.0, 0.0],
[1.0, 0.0],
[1.0, 1.0],
[0.0, 1.0],
],
mesh_size=0.1,
)
mesh = geom.generate_mesh()
The PyPI website of pygmsh provides little information.
As per documentation:
You might wanna checkout pygmsh repo for more info. As per the discussion earlier regarding the inclusion of
mesh_sizefunction into thepygmshlibrary, this is how they definedmesh_size: