struct.node.fix

Syntax

i2 := struct.node.fix(sn,i1)
struct.node.fix(sn,i1) := b

Get/Set velocity-fixity flag expressed in the node-local system (degree-of-freedom component i1 ∈ {1, 2, … , 6}).

Get return value {1, 2, 3} denotes free, fixed, or slaved to target velocity, respectively. Slaved conditions arise from rigid attachment conditions; degrees-of-freedom that are slaved cannot be fixed.

Set accepts a boolean value to fix or free. If the node is slaved in that local degree of freedom an error will occurr.

Returns:

i2 - integer value

Accepts:

b - btrue to fix or bfalse to free.

Arguments:

sn - structure node pointer

i1 - degree-of-freedom component i1 ∈ {1, 2, … , 6}