# struct.pile.state.tension

Syntax

i := struct.pile.state.tension(p)

Get the tension yield state of pile element. The return value {0, 1, 2} denotes never yielded, now yielding, or yielded in the past, respectively.

Returns: i - an integer in the set of {0, 1, 2} denotes never yielded, now yielding, or yielded in the past, respectively p - a pointer to a pile element