The Maximum (

) and
Minimum (

) coupling operators compute the maximum or minimum of an expression over selected geometric entities in the source and gives the maximum or minimum value of the expression in the argument over the source. The operator can be evaluated anywhere in the model. Two arguments can be given, and the returned value is then the value of the second argument evaluated in the max/min of the first argument. This is useful for evaluating, for example, the location of the maximum or minimum. In a 2D model where the temperature
T is solved for, use the following syntax for the maximum operator
maxop1 in a
Global Evaluation node, for example, to get the
x- and
y-coordinate for the maximum of the temperature:
maxop1(T,x)and
maxop1(T,y). The Maximum and Minimum operators support the
dest operator, which forces evaluation in the destination points instead of the source points (see
dest). The default
Operator name is
maxop1 or
minop1.
Select a Point type—
Node points (the default),
Integration points, or
Lagrange points. The point type controls the choice of evaluation points—the result is more accurate with more points, but more points also means a slower evaluation.