Skip to content
Snippets Groups Projects
Commit 39426e88 authored by mattijs's avatar mattijs
Browse files

BUG: vtkUnstructuredReader: update faceMap consistent with faces.

parent 6198cfc3
Branches
Tags
No related merge requests found
...@@ -704,6 +704,7 @@ void Foam::vtkUnstructuredReader::read(ISstream& inFile) ...@@ -704,6 +704,7 @@ void Foam::vtkUnstructuredReader::read(ISstream& inFile)
labelList faceVerts; labelList faceVerts;
readBlock(inFile, nNumbers, faceVerts); readBlock(inFile, nNumbers, faceVerts);
faces_.setSize(nFaces); faces_.setSize(nFaces);
faceMap_.setSize(nFaces);
label elemI = 0; label elemI = 0;
forAll(faces_, faceI) forAll(faces_, faceI)
{ {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment