struct.pile.shear.dir

Syntax

v := struct.pile.shear.dir(p,iend)

Get the global direction in which the pile element is being loaded by the coupling shear spring at end iend ∈ {1, 2}. 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 pile element

iend - end number of the element, iend ∈ {1, 2}