Partial Differential Equation Toolbox    
jigglemesh

Jiggle internal points of a triangular mesh

Syntax

Description

p1=jigglemesh(p,e,t) jiggles the triangular mesh by adjusting the node point positions. The quality of the mesh normally increases.

The following property name/property value pairs are allowed.

Property
Value
Default
Description
Opt
off|mean|min
mean
Optimization method
Iter
numeric
1 or 20 (see below)
Maximum iterations

Each mesh point that is not located on an edge segment is moved toward the center of mass of the polygon formed by the adjacent triangles. This process is repeated according to the settings of the Opt and Iter variables:

Examples

Create a triangular mesh of the L-shaped membrane, first without jiggling, and then jiggle the mesh.

See Also

initmesh, pdetriq


  initmesh parabolic