21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

postmax<br />

Purpose<br />

postmax<br />

Compute maximum value of an expression.<br />

Syntax<br />

Description<br />

m = postmax(fem,expr,...)<br />

[m,p] = postmax(fem,expr,...)<br />

m = postmax(fem,expr,...) returns the maximum value of the expression expr.<br />

The function accepts all property/value pairs that posteval does, except cont. In<br />

addition, the following property/value pairs are accepted:<br />

PROPERTY<br />

NAME<br />

PROPERTY VALUE DEFAULT DESCRIPTION<br />

Out all | sollist all Return min over all solutions, or<br />

min per solution, specified with<br />

solnum or t<br />

Useinf on | off on Allow infinity to be maximum value<br />

[m,p] = postmax(fem,expr,...) additionally returns the sdim-by-1 matrix p<br />

containing the coordinate for which the maximum value occurs, where sdim is the<br />

space dimension of the geometry.<br />

Note that the property Refine (see posteval) specifies the refinement used for<br />

finding the element in which the maximum value occurs. This element is then<br />

refined further to find the maximum value within the element. Therefore, the<br />

coordinate for which the maximum value of expr is attained, is not necessarily a<br />

node in the mesh.<br />

Cautionary<br />

See Also<br />

When expr is evaluated to complex numbers, the real part is used in the maximum<br />

value calculation.<br />

posteval, postmin<br />

350 | CHAPTER 1: COMMAND REFERENCE

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!