Skip to Main Content Skip to Search
Product Documentation

pdeadworst - Select triangles relative to worst value

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 initmesh.

c, a, and f are PDE coefficients. For details, see assempde.

u is the current solution, given as a column vector. For details, see assempde.

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

adaptmesh | pdejmps

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS