gp.fix

Syntax

Vector Access

v = gp.fix(gp<,i>)
gp.fix(gp<,i>) = 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 or component value; non-zero indicates a fixed degree of freedom

Accepts:

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

Arguments:

gp - gridpoint pointer

i - optional vector component, from 1 to 3

Component Access

b = gp.fix.x(gp)
gp.fix.x(gp) = b

Get the fixity component in the x-direction in the gridpoint local coordinate system.

Returns:b - x-component fixity condition
Accepts:b - x-component fixity condition
Arguments:gp - gridpoint pointer
b = gp.fix.y(gp)
gp.fix.y(gp) = b

Get the fixity component in the y-direction in the gridpoint local coordinate system.

Returns:b - y-component fixity condition
Accepts:b - y-component fixity condition
Arguments:gp - gridpoint pointer
b = gp.fix.z(gp)
gp.fix.z(gp) = b

Get the fixity component in the z-direction in the gridpoint local coordinate system.

Returns:b - z-component fixity condition
Accepts:b - z-component fixity condition
Arguments:gp - gridpoint pointer