Commit d49ad058 authored by mattijs's avatar mattijs
Browse files

BUG: cell/face/pointSet should be read from facesInstance, not pointsInstance.

This comes up when displaying sets on moving meshes. The topology does not
change so the set should stay the same.
parent 6ea28e09
......@@ -408,6 +408,14 @@ void Foam::vtkPV3Foam::updateInfoSets
meshDir_/"sets"
);
if (debug)
{
Info<< " Foam::vtkPV3Foam::updateInfoSets read "
<< objects.names() << " from "
<< dbPtr_().findInstance(meshDir_, "faces", IOobject::READ_IF_PRESENT)
<< endl;
}
arrayRangeCellSets_.reset( arraySelection->GetNumberOfArrays() );
arrayRangeCellSets_ += addToSelection<cellSet>
......
Markdown is supported
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