pdeadworst

(Not recommended) Select triangles relative to worst value

pdeadworst is not recommended.

Syntax

bt = pdeadworst(p,t,c,a,f,u,errf,wlevel)

Description

bt = pdeadworst(p,t,c,a,f,u,errf,wlevel) returns indices of triangles to be refined in bt. Used from adaptmesh to select the triangles to be further refined.

The geometry of the PDE problem is given by the mesh data p and t. For details, see Mesh Data.

c, a, and f are PDE coefficients.

u is the current solution, given as a column vector.

errf is the error indicator, as calculated by pdejmps.

wlevel is the error level relative to the worst error. wlevel must be between 0 and 1.

Triangles are selected using the criterion errf>wlevel*max(errf).

See Also

Introduced before R2006a