setNodeAccel

setNodeAccel#

Model.setNodeAccel(tag, dof, value)#

Sets the acceleration of a node in a given degree of freedom.

Parameters:
tag: integer

The tag of the node to set the acceleration for.

dof: integer

The degree of freedom to set the acceleration for (0 for x, 1 for y, 2 for z).

value: float

The acceleration value to set.