mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Standardized cell, patch, face and processor loop index names
This commit is contained in:
@ -752,9 +752,9 @@ surfaceFeatures::edgeStatus checkFlatRegionEdge
|
||||
DynamicList<Foam::vector> normals(2);
|
||||
DynamicList<labelList> bins(2);
|
||||
|
||||
forAll(eFaces, eFaceI)
|
||||
forAll(eFaces, eFacei)
|
||||
{
|
||||
const Foam::vector& n = surf.faceNormals()[eFaces[eFaceI]];
|
||||
const Foam::vector& n = surf.faceNormals()[eFaces[eFacei]];
|
||||
|
||||
// Find the normal in normals
|
||||
label index = -1;
|
||||
@ -769,7 +769,7 @@ surfaceFeatures::edgeStatus checkFlatRegionEdge
|
||||
|
||||
if (index != -1)
|
||||
{
|
||||
bins[index].append(eFaceI);
|
||||
bins[index].append(eFacei);
|
||||
}
|
||||
else if (normals.size() >= 2)
|
||||
{
|
||||
@ -783,7 +783,7 @@ surfaceFeatures::edgeStatus checkFlatRegionEdge
|
||||
else
|
||||
{
|
||||
normals.append(n);
|
||||
bins.append(labelList(1, eFaceI));
|
||||
bins.append(labelList(1, eFacei));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user