mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
Standardized cell, patch and face loop index names
This commit is contained in:
@ -157,13 +157,13 @@ int main(int argc, char *argv[])
|
||||
// Assign all visited faces to current patch
|
||||
label nVisited = 0;
|
||||
|
||||
forAll(visited, faceI)
|
||||
forAll(visited, facei)
|
||||
{
|
||||
if (visited[faceI])
|
||||
if (visited[facei])
|
||||
{
|
||||
nVisited++;
|
||||
|
||||
patchIDs[faceI] = newPatchI;
|
||||
patchIDs[facei] = newPatchI;
|
||||
}
|
||||
}
|
||||
|
||||
@ -234,11 +234,11 @@ int main(int argc, char *argv[])
|
||||
// have to do the geometric stuff.
|
||||
const labelList& meshFace = bMesh.meshFace();
|
||||
|
||||
forAll(patchIDs, faceI)
|
||||
forAll(patchIDs, facei)
|
||||
{
|
||||
label meshFaceI = meshFace[faceI];
|
||||
label meshFaceI = meshFace[facei];
|
||||
|
||||
polyMeshRepatcher.changePatchID(meshFaceI, patchIDs[faceI]);
|
||||
polyMeshRepatcher.changePatchID(meshFaceI, patchIDs[facei]);
|
||||
}
|
||||
|
||||
polyMeshRepatcher.repatch();
|
||||
|
||||
Reference in New Issue
Block a user