Helper function: converting node ID to row/column

nodeIdToRowColumn(nodeID, numberOfRows)

Arguments

nodeID

vector of node ids

numberOfRows

number of rows (here: nly)

Value

row (yNode) and column of node ID in grid