sel.node.index

Syntax

sni = sel.node.index(snp)

Get the index (offset) of a node. This can be used with the xmem, imem and fmem functions.

Returns:sni - node index
Arguments:snp - node pointer