The following line adds a Mesh node, with tag
mesh1, linked to the geometry with tag
geom1:
corresponds to a mesh with Element size set to
Coarse. The argument to the method
autoMeshSize ranges from
1-
9, where
1 is
Extremely fine and
9 is
Extremely coarse.
Use Record Code to generate code for other mesh operations.
Note that you can also set local element size properties for individual points, edges, faces, and domains. Use Record Code or any of the other tools for automatic generation of code to learn more about the syntax and methods for other mesh operations.