Hello,
We would be keen to have a better implementation of function GLOBAL_TO_LOCAL_POINT, probably a dichotomy would be much faster, the only requirements is that we must not use an array of the size of the original mesh.
The original number of points is the maximum value of array KNOLG over all the processors, but we did not create a function for doing that.
The real questions are why do you need a loop on all points with the function GLOBAL_TO_LOCAL_POINT and why do you need to have the original number of points, because we suppressed KNOGL after realising that there was not a single algorithm in the whole system that really requested it. You probably need it for some data that could perhaps be in a selafin file that could be partitioned, this is what we did for the FRICTION DATA FILE for example.
With best regards,
Jean-Michel Hervouet