mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
BUG: wrong sizing index for VTK legacy polyhedrals (closes #829)
This commit is contained in:
@ -574,7 +574,8 @@ void Foam::vtk::vtuSizing::populateArrays
|
||||
if (output == contentType::LEGACY)
|
||||
{
|
||||
// Update size for legacy face stream
|
||||
faceOutput[startLabel] = (faceIndexer - startLabel);
|
||||
// (subtract 1 to avoid counting the storage location)
|
||||
faceOutput[startLabel] = (faceIndexer - 1 - startLabel);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user