Hello,
"hardcoded point numbers" : if you do something to boundary point number 42 (boundary points numbering like in boundary conditions file) or to point 4652, these numbers will be changed in parallel, for example they will become respectively 13 and 657. You can find back the original numbers with :
BOUNDARY_COLOUR: you have BOUNDARY_COLOUR%I(13)=42
KNOLG: you have MESH%KNOLG%I(657)=4652
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 (not very optimised) parallel version would be:
DO K=1,NPTFR
IF(BOUNDARY_COLOUR%I(K).EQ.42) HBOR(K)=3.2D0
ENDDO
I hope this is a bit clearer,
With best regards,
Jean-Michel Hervouet