# struct.pile.shear.state

Syntax

i = struct.pile.shear.state(p,iend)

Get the yield state of the coupling shear spring at end iend ? {1, 2} of the pile element. Return a value ? {0, 1, 2} denote never yielded, now yielding, or yielded in the past, respectively.

Returns: i - a value ? {0, 1, 2} denotes never yielded, now yielding, or yielded in the past, respectively p - a pointer to a pile element iend - end number of the pile element, iend ? {1, 2}