Partial Differential Equation Toolbox |

Mesh Menu

Mesh Mode | Enter mesh mode.
Initialize Mesh | Build and display an initial triangular mesh.
Refine Mesh | Uniformly refine the current triangular mesh.
Jiggle Mesh | Jiggle the mesh.
Undo Mesh Change | Undo the last mesh change. All mesh generations are saved, so repeated Undo Mesh Change eventually brings you back to the initial mesh.
Display Triangle Quality | Display a plot of the triangular mesh where the individual triangles are colored according to their quality. The quality measure is a number between 0 and 1, where triangles with a quality measure greater than 0.6 are acceptable. For details on the triangle quality measure, see `pdetriq`.
Show Node Labels | Toggle the mesh node labels on/off. The node labels are the column numbers in the Point matrix `p`.
Show Triangle Labels | Toggle the mesh triangle labels on/off. The triangle labels are the column numbers in the triangle matrix `t`.
Parameters . . . | Open dialog box for modification of mesh generation parameters.
Export Mesh . . . | Export Point matrix`p`, Edge matrix `e`, and Triangle matrix `t` to the main workspace.

Parameters . . .

Parameters . . . opens a dialog box containing mesh generation parameters. The parameters used by the mesh initialization algorithm `initmesh` are

- Maximum edge size: Largest triangle edge length (approximately). This parameter is optional and must be a real positive number.
- Mesh growth rate: The rate at which the mesh size increases away from small parts of the geometry. The value must be between 1 and 2. The default value is 1.3, i.e., the mesh size increases by 30%.
- Jiggle mesh: Toggles automatic jiggling of the initial mesh on/off.

The parameters used by the mesh jiggling algorithm `jigglemesh` are

- Jiggle mode: Select a jiggle mode from a pop-up menu. Available modes are `on`,`optimize minimum`, and `optimize mean`. `on` jiggles the mesh once. Using the jiggle mode `optimize minimum`, the jiggling process is repeated until the minimum triangle quality stops increasing or until the iteration limit is reached. The same applies for the `optimize mean` option, but it tries to increase the mean triangle quality.
- Number of jiggle iterations: Iteration limit for the `optimize minimum` and `optimize mean` modes. Default: 20.

Finally, for the mesh refinement algorithm `refinemesh`, the Refinement method can be `regular` or `longest`. The default refinement method is `regular`, which results in a uniform mesh. The refinement method `longest` always refines the longest edge on each triangle.

| PDE Menu |  | Solve Menu |