typo
This commit is contained in:
parent
7411ec0af0
commit
749a4bb510
@ -547,7 +547,7 @@ Foam::vector Foam::face::normal(const pointField& p) const
|
|||||||
|
|
||||||
label nPoints = size();
|
label nPoints = size();
|
||||||
|
|
||||||
vector n = vector::zero;
|
register label pI;
|
||||||
|
|
||||||
point centrePoint = vector::zero;
|
point centrePoint = vector::zero;
|
||||||
for (pI = 0; pI < nPoints; pI++)
|
for (pI = 0; pI < nPoints; pI++)
|
||||||
@ -556,9 +556,9 @@ Foam::vector Foam::face::normal(const pointField& p) const
|
|||||||
}
|
}
|
||||||
centrePoint /= nPoints;
|
centrePoint /= nPoints;
|
||||||
|
|
||||||
point nextPoint = centrePoint;
|
vector n = vector::zero;
|
||||||
|
|
||||||
register label pI;
|
point nextPoint = centrePoint;
|
||||||
|
|
||||||
for (pI = 0; pI < nPoints; pI++)
|
for (pI = 0; pI < nPoints; pI++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user