[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:55:26 UTC 2009
The following commit has been merged in the upstream branch:
commit 52e4646a3dbf29d54b8aa1f8f94d5aac0499f955
Author: Stephane Popinet <popinet at users.sf.net>
Date: Thu Jun 19 23:15:48 2008 +1000
Bug fix for adaptive refinement (maxlevel was not always respected)
darcs-hash:20080619131548-d4795-08f49a9e1d2dc0f64a80ebcb3050fe4cd9fe261a.gz
diff --git a/src/adaptive.c b/src/adaptive.c
index 043de87..418b7f7 100644
--- a/src/adaptive.c
+++ b/src/adaptive.c
@@ -946,7 +946,7 @@ static void refine_cell_mark (FttCell * cell, AdaptLocalParams * p)
return;
}
if (level < gfs_function_value (a->minlevel, cell) ||
- (level <= maxlevel && (* a->cost) (cell, a) > a->cmax/a->cfactor))
+ (level < maxlevel && (* a->cost) (cell, a) > a->cmax/a->cfactor))
COARSENABLE (cell, p) = FALSE;
}
i = i->next;
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list