# interface.elem.normal

Syntax

v := interface.elem.normal(ie)

Get the normal vector for the interface element.

Returns:

v - normal vector

Arguments:

ie - interface element pointer

Component Access

f := interface.elem.normal (ie)->x

f := interface.elem.normal.x(ie)

Get the $$x$$-component of the normal vector for the interface element.

Returns:

f - $$x$$-component of the normal vector

Arguments:

ie - interface element pointer

Access other vector components ($$y$$, $$z$$ (3D ONLY)) by substituting the component name where $$x$$ appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (interface.elem.normal(ie,<int>)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f := interface.elem.normal.y(ie)
f := interface.elem.normal.z(ie)