Standardized cell, patch, face and processor loop index names

This commit is contained in:
Henry Weller
2016-04-25 12:00:53 +01:00
parent 8c4f6b8fcb
commit a8bf4be58a
525 changed files with 6296 additions and 6296 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -88,16 +88,16 @@ int main(int argc, char *argv[])
// Create the processor databases
databases.setSize(nProcs);
forAll(databases, procI)
forAll(databases, proci)
{
databases.set
(
procI,
proci,
new Time
(
Time::controlDictName,
args.rootPath(),
args.caseName()/fileName(word("processor") + name(procI))
args.caseName()/fileName(word("processor") + name(proci))
)
);
}
@ -128,11 +128,11 @@ int main(int argc, char *argv[])
{
if (args.optionFound("processor"))
{
for (label procI=0; procI<nProcs; procI++)
for (label proci=0; proci<nProcs; proci++)
{
fileName procPath
(
args.path()/(word("processor") + name(procI))
args.path()/(word("processor") + name(proci))
);
forAll(timeDirs, timeI)

View File

@ -109,9 +109,9 @@ void Foam::channelIndex::walkOppositeFaces
{
const cell& ownCell = cells[mesh.faceOwner()[facei]];
label oppositeFaceI = ownCell.opposingFaceLabel(facei, faces);
label oppositeFacei = ownCell.opposingFaceLabel(facei, faces);
if (oppositeFaceI == -1)
if (oppositeFacei == -1)
{
FatalErrorInFunction
<< "Face:" << facei << " owner cell:" << ownCell
@ -119,10 +119,10 @@ void Foam::channelIndex::walkOppositeFaces
}
else
{
if (!blockedFace[oppositeFaceI])
if (!blockedFace[oppositeFacei])
{
blockedFace[oppositeFaceI] = true;
newFrontFaces.append(oppositeFaceI);
blockedFace[oppositeFacei] = true;
newFrontFaces.append(oppositeFacei);
}
}
}
@ -131,9 +131,9 @@ void Foam::channelIndex::walkOppositeFaces
{
const cell& neiCell = mesh.cells()[mesh.faceNeighbour()[facei]];
label oppositeFaceI = neiCell.opposingFaceLabel(facei, faces);
label oppositeFacei = neiCell.opposingFaceLabel(facei, faces);
if (oppositeFaceI == -1)
if (oppositeFacei == -1)
{
FatalErrorInFunction
<< "Face:" << facei << " neighbour cell:" << neiCell
@ -141,10 +141,10 @@ void Foam::channelIndex::walkOppositeFaces
}
else
{
if (!blockedFace[oppositeFaceI])
if (!blockedFace[oppositeFacei])
{
blockedFace[oppositeFaceI] = true;
newFrontFaces.append(oppositeFaceI);
blockedFace[oppositeFacei] = true;
newFrontFaces.append(oppositeFacei);
}
}
}