From 1c6051371e24e5b529eb276ebb03a5738cc1a6f6 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Fri, 27 Nov 2020 16:40:17 +0100 Subject: [PATCH] updateSignal for Mesh class --- libsrc/meshing/meshclass.cpp | 1 + libsrc/meshing/meshclass.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index 66d28355..6234f1eb 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -6642,6 +6642,7 @@ namespace netgen paralleltop->UpdateCoarseGrid(); } #endif + updateSignal.Emit(); } void Mesh :: BuildCurvedElements (const Refinement * ref, int aorder, bool arational) diff --git a/libsrc/meshing/meshclass.hpp b/libsrc/meshing/meshclass.hpp index aab4e87a..3bdaf219 100644 --- a/libsrc/meshing/meshclass.hpp +++ b/libsrc/meshing/meshclass.hpp @@ -172,6 +172,7 @@ namespace netgen const int element) const; public: + Signal<> updateSignal; // store coarse mesh before hp-refinement unique_ptr> hpelements;