[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:56:02 UTC 2009
The following commit has been merged in the upstream branch:
commit 75260ded68176098f830cf162e90b04151ef1bd2
Author: Stephane Popinet <popinet at users.sf.net>
Date: Thu Jan 22 09:32:50 2009 +1100
Fix for terrain module when refining an existing mesh
darcs-hash:20090121223250-d4795-69c8c97ffb4ef0969c515c75bf2d9d1bef7456ba.gz
diff --git a/modules/terrain.mod b/modules/terrain.mod
index e1a4b59..3c37125 100644
--- a/modules/terrain.mod
+++ b/modules/terrain.mod
@@ -672,8 +672,10 @@ static void update_height_and_check_for_refinement (FttCell * cell, GfsRefineTer
ftt_cell_children (cell, &child);
for (i = 0; i < FTT_CELLS; i++)
GFS_VALUE (child.c[i], t->type) = REFINED;
- t->refined = TRUE;
}
+
+ if (!FTT_CELL_IS_LEAF (cell))
+ t->refined = TRUE;
}
else
g_assert (GFS_VALUE (cell, t->type) == NEW_CHILD);
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list