Hello,
KNOLG is for the numbering of all points, not boundary points. For boundary points use instead BOUNDARY_COLOUR, examples below:
Suppose you do something to boundary point number 42 (boundary points numbering like in boundary conditions file). This number will be changed in parallel, for example it will become 13. You can find back the original numbers with BOUNDARY_COLOUR and you have BOUNDARY_COLOUR%I(13)=42
To find if a boundary point is in a given subdomain, you may have to do a loop, suppose your scalar code is :
HBOR(42)=3.2D0
a parallel version would be:
DO K=1,NPTFR
IF(BOUNDARY_COLOUR%I(K).EQ.42) HBOR(K)=3.2D0
ENDDO
This will perhaps solve your problem,
With best regards,
Jean-Michel Hervouet