54 forAll (patchFields, patchI)
59 if (patchMap[patchI] == -1)
77 label baseSize = basePatch.
size();
81 forAll(directAddressing, i)
83 label baseFaceI = faceMap[subPatch.
patch().
start()+i];
85 if (baseFaceI >= baseStart && baseFaceI < baseStart+baseSize)
87 directAddressing[i] = baseFaceI-baseStart;
93 directAddressing[i] = 0;
178 forAll (patchFields, patchI)
183 if (patchMap[patchI] == -1)
201 label baseSize = basePatch.
size();
205 forAll(directAddressing, i)
207 label baseFaceI = faceMap[subPatch.
patch().
start()+i];
209 if (baseFaceI >= baseStart && baseFaceI < baseStart+baseSize)
211 directAddressing[i] = baseFaceI-baseStart;
217 directAddressing[i] = 0;
238 forAll(patchFields, patchI)
246 label oldFaceI = faceMap[meshFaceI++];
311 forAll (patchFields, patchI)
316 if (patchMap[patchI] == -1)
338 forAll(meshPoints, localI)
340 meshPointMap.insert(meshPoints[localI], localI);
350 forAll(subMeshPoints, localI)
353 label meshPointI = pointMap[subMeshPoints[localI]];
357 if (iter != meshPointMap.
end())
359 directAddressing[localI] = iter();