Standardized cell, patch, face and processor loop index names
This commit is contained in:
@ -40,12 +40,12 @@ static const scalar perturbFactor = 1e-6;
|
||||
static label findCell(const Cloud<passiveParticle>& cloud, const point& pt)
|
||||
{
|
||||
label celli = -1;
|
||||
label tetFaceI = -1;
|
||||
label tetFacei = -1;
|
||||
label tetPtI = -1;
|
||||
|
||||
const polyMesh& mesh = cloud.pMesh();
|
||||
|
||||
mesh.findCellFacePt(pt, celli, tetFaceI, tetPtI);
|
||||
mesh.findCellFacePt(pt, celli, tetFacei, tetPtI);
|
||||
|
||||
if (celli >= 0)
|
||||
{
|
||||
@ -70,7 +70,7 @@ static label findCell(const Cloud<passiveParticle>& cloud, const point& pt)
|
||||
|
||||
const point perturbPt = (1-perturbFactor)*pt+perturbFactor*cc;
|
||||
|
||||
mesh.findCellFacePt(perturbPt, celli, tetFaceI, tetPtI);
|
||||
mesh.findCellFacePt(perturbPt, celli, tetFacei, tetPtI);
|
||||
|
||||
return celli;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user