mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
reset triangle counter to 0 before usage
This commit is contained in:
@ -918,7 +918,7 @@ Foam::label Foam::MeshedSurface<Face>::triangulate
|
||||
// 'face' not '<Face>'
|
||||
const face& f = faceLst[faceI];
|
||||
|
||||
label nTmp;
|
||||
label nTmp = 0;
|
||||
f.triangles(this->points(), nTmp, tmpTri);
|
||||
for (label triI = 0; triI < nTmp; triI++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user