[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:53:54 UTC 2009
The following commit has been merged in the upstream branch:
commit 037114c77726d6904d29c897e387ed36b13d3728
Author: Stephane Popinet <popinet at users.sf.net>
Date: Tue Feb 13 14:22:44 2007 +1100
Removed warning for interpolation of GTS files in functions
darcs-hash:20070213032244-d4795-23790e564c476c103cd53665c5a6da6ea9ba9a5d.gz
diff --git a/src/utils.c b/src/utils.c
index 30ac025..b86a51a 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -702,10 +702,8 @@ static gdouble interpolated_value (GfsFunction * f, FttVector * p)
q.x = p->x; q.y = p->y;
t = gts_point_locate (&q, f->s, NULL);
- if (t == NULL) {
- g_warning ("%s: cannot locate point (%g,%g)", f->sname, p->x, p->y);
+ if (t == NULL)
return 0.;
- }
gts_triangle_interpolate_height (GTS_TRIANGLE (t), &q);
return q.z;
}
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list