# gp.fix

Syntax

v := gp.fix(gp)
gp.fix(gp) := v

Get/set a vector indicating gridpoint fixity. A non-zero component value indicates that the degree-of-freedom is fixed in the local gridpoint system.

Returns:

v - fixity condition vector value; non-zero indicates a fixed degree of freedom

Accepts:

v - fixity condition vector value; non-zero indicates a fixed degree of freedom

Arguments:

gp - a zone gridpoint pointer

Component Access

f := gp.fix (gp)->x
gp.fix (gp)-x := f

f := gp.fix.x(gp)
gp.fix.x(gp) := f

Get the $$x$$-component of a vector indicating gridpoint fixity.

Returns:

f - $$x$$-component of the fixity condition vector value; non-zero indicates a fixed degree of freedom

Accepts:

f - $$x$$-component of the fixity condition vector value; non-zero indicates a fixed degree of freedom

Arguments:

gp - a zone gridpoint 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 (gp.fix(gp,<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 := gp.fix.y(gp)
f := gp.fix.z(gp)