[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:55:37 UTC 2009
The following commit has been merged in the upstream branch:
commit 587adca8450cf6485e954ccf85af227a21012643
Author: Stephane Popinet <popinet at users.sf.net>
Date: Sat Jul 26 08:43:15 2008 +1000
Fix for "corner refinement" topology violation
darcs-hash:20080725224315-d4795-14058f7ff6252d09fe7c1192b506257ce02589b9.gz
diff --git a/src/ftt.c b/src/ftt.c
index e9ae7c0..ad001c6 100644
--- a/src/ftt.c
+++ b/src/ftt.c
@@ -2078,6 +2078,15 @@ gboolean ftt_refine_corner (const FttCell * cell)
if (nc1 && !FTT_CELL_IS_LEAF (nc1))
return TRUE;
#endif /* FTT_3D */
+ if (!FTT_CELL_IS_LEAF (c)) {
+ FttCellChildren child;
+ guint j, k;
+
+ k = ftt_cell_children_direction (c, FTT_OPPOSITE_DIRECTION (i), &child);
+ for (j = 0; j < k; j++)
+ if (child.c[j])
+ return TRUE;
+ }
}
}
}
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list