From fcf3262fb5f2fb9d088c22ce4b50ca13302f1d44 Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 21 Nov 2008 15:19:10 +0000 Subject: [PATCH] do not zonify baffles --- .../graphics/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.C b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.C index 7780ad3cfd..7ae5853896 100644 --- a/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.C +++ b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.C @@ -617,8 +617,10 @@ void Foam::vtkPV3Foam::addPatchNames(vtkRenderer* renderer) { const labelList& eFaces = edgeFaces[edgeI]; - if (eFaces.size() != 2) + if (eFaces.size() == 1) { + // Note: could also do ones with > 2 faces but this gives + // too many zones for baffles featEdge[edgeI] = true; } else if (mag(n[eFaces[0]] & n[eFaces[1]]) < 0.5)