From d175b347b6d27f68f40d5325931211bc6bfbc8c8 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Fri, 4 Nov 2016 20:50:13 +0000 Subject: [PATCH] PVblockMeshReader: Added "Refresh" button to update the blockMesh Reconstructs the blockMesh and updates the display from the current blockMeshDict so that any changes can viewed without exiting paraFoam -block --- .../PVFoamReader/pqPVFoamReaderPanel.h | 4 -- .../PVblockMeshReader_SM.xml | 14 +++++++ .../pqPVblockMeshReaderPanel.cxx | 39 +++++++++++++++++-- .../pqPVblockMeshReaderPanel.h | 5 +-- .../vtkPVblockMeshReader.cxx | 34 ++++++++-------- .../PVblockMeshReader/vtkPVblockMeshReader.h | 3 ++ 6 files changed, 70 insertions(+), 29 deletions(-) diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/pqPVFoamReaderPanel.h b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/pqPVFoamReaderPanel.h index 2bdeaa6028..6ca0f3f7a5 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/pqPVFoamReaderPanel.h +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/pqPVFoamReaderPanel.h @@ -106,10 +106,6 @@ public: //- Construct from components pqPVFoamReaderPanel(pqProxy*, QWidget*); - - - //- Destructor - // virtual ~pqPVFoamReaderPanel(); }; diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/PVblockMeshReader_SM.xml b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/PVblockMeshReader_SM.xml index 3a80fe5136..a351ef2658 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/PVblockMeshReader_SM.xml +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/PVblockMeshReader_SM.xml @@ -43,6 +43,20 @@ + + + + + Rescan for updated blockMeshDict. + + +