struct.liner.shear.dir

Syntax

v := struct.liner.shear.dir(p,inode)

Get the direction (unit vector in global system) in which the liner element is being loaded by the shear coupling spring at node inode (inode ∈ {1, 2, 3}). Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Returns:

v - vector or component of the direction

Arguments:

p - a pointer to a liner element

inode - node number of the element, inode ∈ {1, 2, 3}