ball.fix
Syntax
- b = ball.fix(b,i)
- ball.fix(b,i) = b
Get/set ball 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: b - ball pointer
i - integer degree-of-freedom
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |