[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Liang Jin Lim |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Mon, 14 May 2018 07:58:06 -0400 (EDT) |
branch: ignore_empty_integration_points
commit 45d24caccf868b225417358798ffdb2571851175
Author: lj <address@hidden>
Date: Mon May 14 13:55:33 2018 +0200
Smaller empty point tolerance.
---
src/getfem_integration.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/getfem_integration.cc b/src/getfem_integration.cc
index a17a0ee..0f4cf1a 100644
--- a/src/getfem_integration.cc
+++ b/src/getfem_integration.cc
@@ -249,7 +249,7 @@ namespace getfem {
void approx_integration::add_point(const base_node &pt,
scalar_type w,short_type f) {
GMM_ASSERT1(!valid, "Impossible to modify a valid integration method.");
- if (gmm::abs(w) > 1.0E-15) {
+ if (gmm::abs(w) > 1.0E-16) {
++f;
GMM_ASSERT1(f <= cvr->structure()->nb_faces(), "Wrong argument.");
size_type i = pt_to_store[f].search_node(pt);