clump.fix

Syntax

b = clump.fix(c,i)
clump.fix(c,i) = b
Get/set clump fixity condition. The integer degree-of-freedom corresponds to the following order:
  • in 3D: 1) \(x\)-velocity, 2) \(y\)-velocity, 3) \(z\)-velocity, 4) \(x\)-angular velocity, 5) \(y\)-angular velocity, 6) \(z\)-angular velocity.

  • in 2D: 1) \(x\)-velocity, 2) \(y\)-velocity, 3) angular velocity.

The return value is false for free and true for fixed conditions.

Returns:

b - fixity flag

Accepts:

b - fixity flag

Arguments:

c - clump pointer

i - integer degree-of-freedom