7 label minFaceIndex = labelMax;
9 PtrList<labelIOList>& faceProcAddressing = procMeshes.faceProcAddressing();
11 forAll (faceProcAddressing, procI)
13 const labelList& curFaceAddr = faceProcAddressing[procI];
15 forAll (curFaceAddr, faceI)
17 if (
mag(curFaceAddr[faceI]) < minFaceIndex)
19 minFaceIndex =
mag(curFaceAddr[faceI]);
27 <<
"parallel decomposition addressing." <<
endl
28 <<
"It looks like you are trying to reconstruct the case "
29 <<
"decomposed with an earlier version of FOAM, which could\n"
30 <<
"potentially cause compatibility problems. The code will "
31 <<
"attempt to update the addressing automatically; in case of\n"
32 <<
"failure, please repeat the decomposition of the case using "
33 <<
"the current version fo decomposePar"
36 forAll (faceProcAddressing, procI)
38 labelList& curFaceAddr = faceProcAddressing[procI];
40 forAll (curFaceAddr, faceI)
42 curFaceAddr[faceI] +=
sign(curFaceAddr[faceI]);
45 faceProcAddressing[procI].write();