[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:53:25 UTC 2009
The following commit has been merged in the upstream branch:
commit c406ea7ef7d2e755acad35d90b86d2d80668a50b
Author: Stephane Popinet <popinet at users.sf.net>
Date: Mon Dec 11 12:52:40 2006 +1100
"levelmin" is taken into account only for coarsening the mesh
darcs-hash:20061211015240-d4795-a6b7ce9d0f294a963575ca0eece0dcef2224088c.gz
diff --git a/src/adaptive.c b/src/adaptive.c
index c55ff41..9606949 100644
--- a/src/adaptive.c
+++ b/src/adaptive.c
@@ -1005,8 +1005,7 @@ static void refine_cell_mark (FttCell * cell, AdaptLocalParams * p)
GfsAdapt * a = i->data;
if (a->active) {
if (level < gfs_function_value (a->maxlevel, cell) &&
- (level < gfs_function_value (a->minlevel, cell) ||
- (* a->cost) (cell, a) > a->cmax)) {
+ (* a->cost) (cell, a) > a->cmax) {
REFINABLE (cell, p) = TRUE;
COARSENABLE (cell, p) = FALSE;
return;
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list