[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet s.popinet at niwa.co.nz
Fri May 15 02:51:41 UTC 2009


The following commit has been merged in the upstream branch:
commit 580636d41f52a059607d3fc73a38e639caebcbc2
Author: Stephane Popinet <s.popinet at niwa.co.nz>
Date:   Tue Feb 22 10:16:40 2005 +1100

    Bug fix for boundary matching of solid fractions
    
    darcs-hash:20050221231640-fbd8f-5c983b1ea4f79e8bbf9b8afc21373baa2ac694da.gz

diff --git a/src/boundary.c b/src/boundary.c
index 45625f6..2c5131d 100644
--- a/src/boundary.c
+++ b/src/boundary.c
@@ -386,7 +386,7 @@ static void match (FttCell * cell, GfsBoundary * boundary)
 	if (c == boundary->d/2) {
 	  FttVector p1, p2;
 	  ftt_cell_pos (cell, &p1);
-	  ftt_cell_pos (cell, &p2);
+	  ftt_cell_pos (neighbor, &p2);
 	  (&t->cm.x)[c] = (&p1.x)[c] + (&p2.x)[c] - (&s->cm.x)[c];
 	  (&t->ca.x)[c] = (&p1.x)[c] + (&p2.x)[c] - (&s->ca.x)[c];
 	}

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list