[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:54:37 UTC 2009
The following commit has been merged in the upstream branch:
commit 70bc657bb7404c38bbf6439dc88bb92226a9c159
Author: Stephane Popinet <popinet at users.sf.net>
Date: Fri Sep 7 08:57:16 2007 +1000
Bug fix for uninitialised normal z-component in parabola_fit_init()
..or how 4 characters can lead to no end of trouble...
darcs-hash:20070906225716-d4795-b57062eb0a4db5a4966521e42dcfde055e743ad1.gz
diff --git a/src/vof.c b/src/vof.c
index 8487736..f8a2dd5 100644
--- a/src/vof.c
+++ b/src/vof.c
@@ -1669,7 +1669,7 @@ static void parabola_fit_init (ParabolaFit * p, FttVector * o, FttVector * m)
{
p->o[0] = o->x; p->o[1] = o->y; p->o[2] = o->z;
#if FTT_2D
- p->m[0] = m->x; p->m[1] = m->y; p->m[2] = m->z;
+ p->m[0] = m->x; p->m[1] = m->y; p->m[2] = 0.;
gts_vector_normalize (p->m);
p->M = gts_matrix_zero (NULL);
p->rhs[0] = p->rhs[1] = p->rhs[2] = 0.;
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list