From 2eff09cc41d3239691300bd1c7294763b98ca95e Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Fri, 29 Nov 2019 12:30:37 +0100 Subject: [PATCH] Set geometry in Mesh assignment operator Sets the geometry in coarsemesh in HPRefinement() Fixes #22 --- libsrc/meshing/meshclass.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index 6180a3fe..36bbdf5b 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -88,6 +88,7 @@ namespace netgen Mesh & Mesh :: operator= (const Mesh & mesh2) { + geometry = mesh2.geometry; dimension = mesh2.dimension; points = mesh2.points; segments = mesh2.segments;