find the node number for this name
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | node |
pure integer function node_index(node) !! find the node number for this name character(len=*),intent(in) :: node integer,dimension(1) :: idx idx = findloc(nodes,node) node_index = idx(1) end function node_index