struct.pile.normal.dir

Syntax

v = struct.pile.normal.dir(p,iend)

Get the global direction in which the pile element is being loaded by the coupling normal 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}