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 43beb06018
commit 450728ea84
525 changed files with 6296 additions and 6296 deletions

View File

@ -176,8 +176,8 @@ void Foam::polyLineSet::calcSamples
{
// Get boundary intersection
point trackPt;
label trackCellI = -1;
label trackFaceI = -1;
label trackCelli = -1;
label trackFacei = -1;
do
{
@ -194,12 +194,12 @@ void Foam::polyLineSet::calcSamples
);
point bPoint(GREAT, GREAT, GREAT);
label bFaceI = -1;
label bFacei = -1;
if (bHits.size())
{
bPoint = bHits[0].hitPoint();
bFaceI = bHits[0].index();
bFacei = bHits[0].index();
}
// Get tracking point
@ -209,27 +209,27 @@ void Foam::polyLineSet::calcSamples
(
sampleCoords_[sampleI],
bPoint,
bFaceI,
bFacei,
smallDist,
trackPt,
trackCellI,
trackFaceI
trackCelli,
trackFacei
);
if (isSample && (mag(lastSample - trackPt) > smallDist))
{
//Info<< "calcSamples : getTrackingPoint returned valid sample "
// << " trackPt:" << trackPt
// << " trackFaceI:" << trackFaceI
// << " trackCellI:" << trackCellI
// << " trackFacei:" << trackFacei
// << " trackCelli:" << trackCelli
// << " sampleI:" << sampleI
// << " dist:" << dist
// << endl;
samplingPts.append(trackPt);
samplingCells.append(trackCellI);
samplingFaces.append(trackFaceI);
samplingCells.append(trackCelli);
samplingFaces.append(trackFacei);
// Convert sampling position to unique curve parameter. Get
// fraction of distance between sampleI and sampleI+1.
@ -241,12 +241,12 @@ void Foam::polyLineSet::calcSamples
lastSample = trackPt;
}
if (trackCellI == -1)
if (trackCelli == -1)
{
// No intersection found. Go to next point
sampleI++;
}
} while ((trackCellI == -1) && (sampleI < sampleCoords_.size() - 1));
} while ((trackCelli == -1) && (sampleI < sampleCoords_.size() - 1));
if (sampleI == sampleCoords_.size() - 1)
{
@ -265,7 +265,7 @@ void Foam::polyLineSet::calcSamples
(
mesh(),
trackPt,
trackCellI
trackCelli
);
bool bReached = trackToBoundary