@dofs()

Extracts individual degrees of freedom from an integer and returns the status.

Syntax

@dofs (dof, position)

Type

HyperMesh Template Function

Inputs

dof
Generally an integer beam end release code that returns 1 or 0 (on or off) if the integer in position is contained within the dof field.
position

Example

@dofs(123,1) = 1, @dofs(456,1) = 0