mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: paraFoam: keeping patchGroups thus doubling geometry
This commit is contained in:
@ -272,14 +272,17 @@ void Foam::vtkPV3Foam::updateInfoPatches
|
|||||||
|
|
||||||
if (enabledEntriesSet.found(vtkGrpName))
|
if (enabledEntriesSet.found(vtkGrpName))
|
||||||
{
|
{
|
||||||
//enabledEntriesSet.erase(vtkGrpName);
|
|
||||||
if (!reader_->GetShowGroupsOnly())
|
if (!reader_->GetShowGroupsOnly())
|
||||||
{
|
{
|
||||||
|
enabledEntriesSet.erase(vtkGrpName);
|
||||||
forAll(patchIDs, i)
|
forAll(patchIDs, i)
|
||||||
{
|
{
|
||||||
const polyPatch& pp = patches[patchIDs[i]];
|
const polyPatch& pp = patches[patchIDs[i]];
|
||||||
string vtkPatchName = pp.name() + " - patch";
|
if (pp.size())
|
||||||
enabledEntriesSet.insert(vtkPatchName);
|
{
|
||||||
|
string vtkPatchName = pp.name() + " - patch";
|
||||||
|
enabledEntriesSet.insert(vtkPatchName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -406,14 +409,17 @@ void Foam::vtkPV3Foam::updateInfoPatches
|
|||||||
|
|
||||||
if (enabledEntriesSet.found(vtkGrpName))
|
if (enabledEntriesSet.found(vtkGrpName))
|
||||||
{
|
{
|
||||||
//enabledEntriesSet.erase(vtkGrpName);
|
|
||||||
if (!reader_->GetShowGroupsOnly())
|
if (!reader_->GetShowGroupsOnly())
|
||||||
{
|
{
|
||||||
|
enabledEntriesSet.erase(vtkGrpName);
|
||||||
forAll(patchIDs, i)
|
forAll(patchIDs, i)
|
||||||
{
|
{
|
||||||
string vtkPatchName =
|
if (sizes[patchIDs[i]])
|
||||||
names[patchIDs[i]] + " - patch";
|
{
|
||||||
enabledEntriesSet.insert(vtkPatchName);
|
string vtkPatchName =
|
||||||
|
names[patchIDs[i]] + " - patch";
|
||||||
|
enabledEntriesSet.insert(vtkPatchName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user