foamToTecplot360: Updated to use tmp.ref()

Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2288
This commit is contained in:
Henry Weller
2016-10-09 15:13:50 +01:00
parent 3542700432
commit a003028582
3 changed files with 5 additions and 5 deletions

View File

@ -384,7 +384,6 @@ void Foam::tecplotWriter::writeConnectivity(const fvMesh& mesh) const
}
}
void Foam::tecplotWriter::writeConnectivity
(
const indirectPrimitivePatch& pp
@ -394,7 +393,8 @@ void Foam::tecplotWriter::writeConnectivity
INTEGER4 NumFaceNodes = 2*pp.nEdges();
// All faces (=edges) have 2 nodes
List<INTEGER4> FaceNodeCounts(NumFaces, 2);
List<INTEGER4> FaceNodeCounts(NumFaces);
FaceNodeCounts = 2;
List<INTEGER4> FaceNodes(NumFaceNodes);
label nodeI = 0;