processorPolyPatch: Avoid nesting loops with the same index
This commit is contained in:
parent
fff57bf797
commit
d0e612b285
1 changed files with 3 additions and 3 deletions
|
|
@ -273,10 +273,10 @@ void Foam::processorPolyPatch::calcGeometry(PstreamBuffers& pBufs)
|
|||
|
||||
label vertI = 0;
|
||||
|
||||
forAll(faceCentres(), facei)
|
||||
forAll(faceCentres(), facej)
|
||||
{
|
||||
const point& c0 = neighbFaceCentres_[facei];
|
||||
const point& c1 = faceCentres()[facei];
|
||||
const point& c0 = neighbFaceCentres_[facej];
|
||||
const point& c1 = faceCentres()[facej];
|
||||
|
||||
writeOBJ(ccStr, c0, c1, vertI);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue