Skip to content
Snippets Groups Projects
Commit 1844ce5a authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: wrong sizing index for VTK legacy polyhedrals (closes #829)

parent c18a2a63
Branches
Tags
No related merge requests found
...@@ -574,7 +574,8 @@ void Foam::vtk::vtuSizing::populateArrays ...@@ -574,7 +574,8 @@ void Foam::vtk::vtuSizing::populateArrays
if (output == contentType::LEGACY) if (output == contentType::LEGACY)
{ {
// Update size for legacy face stream // Update size for legacy face stream
faceOutput[startLabel] = (faceIndexer - startLabel); // (subtract 1 to avoid counting the storage location)
faceOutput[startLabel] = (faceIndexer - 1 - startLabel);
} }
else else
{ {
......
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