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.
This commit is contained in:
mattijs
2010-01-28 11:50:52 +00:00
parent 721aadb7b6
commit 0bf1587872
2 changed files with 12 additions and 4 deletions

View File

@ -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>