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

Stephane Popinet stephane.popinet at paradise.net.nz
Fri May 15 02:51:34 UTC 2009


The following commit has been merged in the upstream branch:
commit ad707b28b30bb6ec9f97b2729bf0113eff59db91
Author: Stephane Popinet <stephane.popinet at paradise.net.nz>
Date:   Sun Jan 30 18:04:00 2005 +1100

    Default adaptive maxlevel set to 5
    
    The previous default was infinite which was not too good for memory use...
    
    darcs-hash:20050130070400-fa380-21171ce67d3cb28ef3b32720891615c78bb44136.gz

diff --git a/src/adaptive.c b/src/adaptive.c
index abad0a2..6e80b0f 100644
--- a/src/adaptive.c
+++ b/src/adaptive.c
@@ -298,7 +298,7 @@ static void gfs_adapt_init (GfsAdapt * object)
 {
   object->active = FALSE;
   object->minlevel = gfs_function_new (gfs_function_class (), 0);
-  object->maxlevel = gfs_function_new (gfs_function_class (), G_MAXINT);
+  object->maxlevel = gfs_function_new (gfs_function_class (), 5);
   object->mincells = 0;
   object->maxcells = G_MAXINT;
   object->cmax = 0.;

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list