mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Further standardization of loop index naming: pointI -> pointi, patchI -> patchi
This commit is contained in:
@ -120,7 +120,7 @@ bool Foam::findCellParticle::hitPatch
|
||||
(
|
||||
const polyPatch&,
|
||||
trackingData& td,
|
||||
const label patchI,
|
||||
const label patchi,
|
||||
const scalar trackFraction,
|
||||
const tetIndices& tetIs
|
||||
)
|
||||
|
||||
@ -183,7 +183,7 @@ public:
|
||||
(
|
||||
const polyPatch&,
|
||||
trackingData& td,
|
||||
const label patchI,
|
||||
const label patchi,
|
||||
const scalar trackFraction,
|
||||
const tetIndices& tetIs
|
||||
);
|
||||
|
||||
@ -324,7 +324,7 @@ bool Foam::streamLineParticle::hitPatch
|
||||
(
|
||||
const polyPatch&,
|
||||
trackingData& td,
|
||||
const label patchI,
|
||||
const label patchi,
|
||||
const scalar trackFraction,
|
||||
const tetIndices& tetIs
|
||||
)
|
||||
|
||||
@ -224,7 +224,7 @@ public:
|
||||
(
|
||||
const polyPatch&,
|
||||
trackingData& td,
|
||||
const label patchI,
|
||||
const label patchi,
|
||||
const scalar trackFraction,
|
||||
const tetIndices& tetIs
|
||||
);
|
||||
|
||||
@ -150,7 +150,7 @@ protected:
|
||||
(
|
||||
const polyPatch&,
|
||||
TrackData& td,
|
||||
const label patchI,
|
||||
const label patchi,
|
||||
const scalar trackFraction,
|
||||
const tetIndices& tetIs
|
||||
);
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user