struct.pile.shear.dir

Syntax

Vector Access

v = struct.pile.shear.dir(p,iend<,i>)

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}

i - optional vector component, from 1 to 3

Component Access

f = struct.pile.shear.dir.x(p,iend)

Get the x-component of the global direction in which the pile element is being loaded by the coupling shear spring at end iend ∈ {1, 2}.

Returns:

f - x-component of the direction

Arguments:

p - a pointer to a pile element

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

f = struct.pile.shear.dir.y(p,iend)

Get the y-component of the global direction in which the pile element is being loaded by the coupling shear spring at end iend ∈ {1, 2}.

Returns:

f - y-component of the direction

Arguments:

p - a pointer to a pile element

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

f = struct.pile.shear.dir.z(p,iend)

Get the z-component of the global direction in which the pile element is being loaded by the coupling shear spring at end iend ∈ {1, 2}.

Returns:

f - z-component of the direction

Arguments:

p - a pointer to a pile element

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