rblock.fix
Syntax
- b = rblock.fix(b,i)
- rblock.fix(b,i) = b
Get/set rigid block 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 - rigid block pointer
i - integer degree-of-freedom
Was this helpful? ... | PFC © 2021, Itasca | Updated: Feb 25, 2024 |