getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] (no subject)


From: Markus Bürg
Subject: [Getfem-commits] (no subject)
Date: Mon, 20 Aug 2018 09:31:12 -0400 (EDT)

branch: mb-Fix_issue_in_GMsh_mesh_import
commit bd663ecb5c3b2b764cd116eff8e1689e62b55a13
Author: mb <address@hidden>
Date:   Mon Aug 20 15:31:00 2018 +0200

    Fix issue in GMsh mesh import.
---
 src/getfem_import.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/getfem_import.cc b/src/getfem_import.cc
index 846f51b..45ae18e 100644
--- a/src/getfem_import.cc
+++ b/src/getfem_import.cc
@@ -551,7 +551,10 @@ namespace getfem {
                 }
               }
             }
-            if (is_node && (nodal_map != NULL)) 
(*nodal_map)[ci.region].insert(ci.id);
+            if (is_node && (nodal_map != NULL))
+            {
+              for (auto i : ci.nodes) (*nodal_map)[ci.region].insert(i);
+            }
             //if the convex is not part of the face of others
             if (!cvok)
             {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]