[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Konstantinos Poulios |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Mon, 7 Aug 2017 17:18:43 -0400 (EDT) |
branch: devel-logari81
commit 07114d1cc1cf44fc2740096ea489e14a1c51a4fc
Author: Konstantinos Poulios <address@hidden>
Date: Mon Aug 7 23:18:11 2017 +0200
fix the processing of mesh_region::all_convexes() in select_faces_in_box
---
src/getfem_mesh.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/getfem_mesh.cc b/src/getfem_mesh.cc
index dbc701f..52c1884 100644
--- a/src/getfem_mesh.cc
+++ b/src/getfem_mesh.cc
@@ -863,7 +863,7 @@ namespace getfem {
mesh_region mrr;
size_type N = m.dim();
GMM_ASSERT1(pt1.size() == N && pt2.size() == N, "Wrong dimensions");
- for (getfem::mr_visitor i(mr); !i.finished(); ++i)
+ for (getfem::mr_visitor i(mr, m); !i.finished(); ++i)
if (i.f() != short_type(-1)) {
bgeot::mesh_structure::ind_pt_face_ct pt
= m.ind_points_of_face_of_convex(i.cv(), i.f());