Check if a node is downstream another one

isNodeDownstream(InputsModel, current_node, down_node)

Arguments

InputsModel

[GRiwrmInputsModel object] see CreateInputsModel.GRiwrm for details

current_node

character with the id of the current node

down_node

character with the id of the node for which we want to know if it is downstream current_node

Value

logicalTRUE if the node with the id down_node is downstream the node with the id current_node