I'm now testing with a small mesh. But, indeed, at the end, I will use it wit a quite big mesh (1+ million nodes).
For something more efficient, I was wondering about the following lines in bord.f (lines 206-207, v8.2.0):
IF(NCSIZE.GT.1) N=MESH%KNOLG%I(N)
Z = SL(IFRLIQ,N)
Is it safe to comment the first line, so that N remains the local point number and I can simply use X(N) instead of X(GLOBAL_TO_LOCAL_POINT(N, MESH)) in sl.f?
In this application, all my liquid boundaries are forced with an imposed water surface level (which varies in time and space). I have no other liquid boundary condition.
Thanks for your help!