getfem-commits
[Top][All Lists]
Advanced

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

[Getfem-commits] [getfem-commits] branch master updated: Fix redundant i


From: Konstantinos Poulios
Subject: [Getfem-commits] [getfem-commits] branch master updated: Fix redundant integration points in projected_fem
Date: Wed, 06 Jan 2021 03:10:42 -0500

This is an automated email from the git hooks/post-receive script.

logari81 pushed a commit to branch master
in repository getfem.

The following commit(s) were added to refs/heads/master by this push:
     new f60023b  Fix redundant integration points in projected_fem
f60023b is described below

commit f60023bf46fafbf1a283674307d9ce022b282945
Author: Konstantinos Poulios <logari81@gmail.com>
AuthorDate: Wed Jan 6 09:10:27 2021 +0100

    Fix redundant integration points in projected_fem
---
 src/getfem_projected_fem.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/getfem_projected_fem.cc b/src/getfem_projected_fem.cc
index 31daf88..fa73548 100644
--- a/src/getfem_projected_fem.cc
+++ b/src/getfem_projected_fem.cc
@@ -364,7 +364,8 @@ namespace getfem {
         bgeot::geotrans_precomp(pgt, pai->pintegration_points(), 0);
       size_type last_cv = size_type(-1); // refers to the source mesh
       short_type last_f = short_type(-1); // refers to the source mesh
-      size_type nb_pts = i.is_face() ? pai->nb_points_on_face(f) : 
pai->nb_points();
+      size_type nb_pts = i.is_face() ? pai->nb_points_on_face(f)
+                                     : pai->nb_points_on_convex();
       size_type start_pt = i.is_face() ? pai->ind_first_point_on_face(f) : 0;
       elt_projection_data &e = elements[cv];
       base_node gpt(N);



reply via email to

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