struct.pile.state.compression

Syntax

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

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

Returns:

f - integer in the set of {0, 1, 2} denotes never yielded, now yielding, or yielded in the past, respectively

Arguments:

p - pointer to a pile element