Further standardization of loop index naming: pointI -> pointi, patchI -> patchi

This commit is contained in:
Henry Weller
2016-05-18 21:20:42 +01:00
parent aa4b93068b
commit 4500971827
365 changed files with 4877 additions and 4877 deletions

View File

@ -120,7 +120,7 @@ bool Foam::findCellParticle::hitPatch
(
const polyPatch&,
trackingData& td,
const label patchI,
const label patchi,
const scalar trackFraction,
const tetIndices& tetIs
)

View File

@ -183,7 +183,7 @@ public:
(
const polyPatch&,
trackingData& td,
const label patchI,
const label patchi,
const scalar trackFraction,
const tetIndices& tetIs
);

View File

@ -324,7 +324,7 @@ bool Foam::streamLineParticle::hitPatch
(
const polyPatch&,
trackingData& td,
const label patchI,
const label patchi,
const scalar trackFraction,
const tetIndices& tetIs
)

View File

@ -224,7 +224,7 @@ public:
(
const polyPatch&,
trackingData& td,
const label patchI,
const label patchi,
const scalar trackFraction,
const tetIndices& tetIs
);

View File

@ -150,7 +150,7 @@ protected:
(
const polyPatch&,
TrackData& td,
const label patchI,
const label patchi,
const scalar trackFraction,
const tetIndices& tetIs
);

View File

@ -76,24 +76,24 @@ void Foam::functionObjects::forceCoeffs::writeFileHeader(const label i)
vectorField binPoints(nBin_);
writeCommented(file(i), "x co-ords :");
forAll(binPoints, pointI)
forAll(binPoints, pointi)
{
binPoints[pointI] = (binMin_ + (pointI + 1)*binDx_)*binDir_;
file(i) << tab << binPoints[pointI].x();
binPoints[pointi] = (binMin_ + (pointi + 1)*binDx_)*binDir_;
file(i) << tab << binPoints[pointi].x();
}
file(i) << nl;
writeCommented(file(i), "y co-ords :");
forAll(binPoints, pointI)
forAll(binPoints, pointi)
{
file(i) << tab << binPoints[pointI].y();
file(i) << tab << binPoints[pointi].y();
}
file(i) << nl;
writeCommented(file(i), "z co-ords :");
forAll(binPoints, pointI)
forAll(binPoints, pointi)
{
file(i) << tab << binPoints[pointI].z();
file(i) << tab << binPoints[pointi].z();
}
file(i) << nl;

View File

@ -104,24 +104,24 @@ void Foam::functionObjects::forces::writeFileHeader(const label i)
vectorField binPoints(nBin_);
writeCommented(file(i), "x co-ords :");
forAll(binPoints, pointI)
forAll(binPoints, pointi)
{
binPoints[pointI] = (binMin_ + (pointI + 1)*binDx_)*binDir_;
file(i) << tab << binPoints[pointI].x();
binPoints[pointi] = (binMin_ + (pointi + 1)*binDx_)*binDir_;
file(i) << tab << binPoints[pointi].x();
}
file(i) << nl;
writeCommented(file(i), "y co-ords :");
forAll(binPoints, pointI)
forAll(binPoints, pointi)
{
file(i) << tab << binPoints[pointI].y();
file(i) << tab << binPoints[pointi].y();
}
file(i) << nl;
writeCommented(file(i), "z co-ords :");
forAll(binPoints, pointI)
forAll(binPoints, pointi)
{
file(i) << tab << binPoints[pointI].z();
file(i) << tab << binPoints[pointi].z();
}
file(i) << nl;