PHREEQC-BASIC

get_nodeexist(<str::variable>)

get_nodeexist(<str::variable>,<int::entity>)

MY-BASIC

get_node(<str::variable>)

get_node(<str::variable>,<int::entity>)



It checks if variable at a give node (transport) or for a given solution number exists.



Return value: int

0        if it exists

-1        if variable does not exists

-2        (MY-BASIC) if entity does not exist

       (MY-PHREEQC) if entity is out of range (<0 , > total number of nodes) 

-3        (PHREEQC-BASIC) if HPx is not running in transport mode



Arguments


variable

str: Case sensitive name of the variable

entity

int, optional: Solution number/node number. If not provided, the current node (during transport) or solution number is used.

When running HPx in multi-threading mode, information in other nodes than the current node might not be updated.