numnp = number of node points