Ah, good question. By coding I assume… but I have no skills about that so…
If I understand correctly there is 2 strategies:
improve the current algorithm as @ur said
implement multi-mesh analysis
I would prefer the second strategy, I assume this would be a convenient way to allocate each slave or master face to the suitable meshed body, efficiently in non ambiguous manner.
IIRC @bernd has an experimental multi-mesh FEM in his branch right?
BTW how can we access your multi-mesh branch? Just by compiling it?
Ok, so do you think multi-mesh analysis would ease to know which node belong to the suitable contact face?
Any opinion much appreciated.