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

Stephane Popinet s.popinet at niwa.co.nz
Fri May 15 02:52:07 UTC 2009


The following commit has been merged in the upstream branch:
commit 64c5a780dfa22c9cd2d72e1d955a91551c133c1c
Author: Stephane Popinet <s.popinet at niwa.co.nz>
Date:   Thu Jun 30 15:38:20 2005 +1000

    Fixed bug in dynamic variable allocation
    
    darcs-hash:20050630053820-fbd8f-5a10bf61899023f851199ea43b265a21bd79d27f.gz

diff --git a/src/domain.c b/src/domain.c
index cad8194..b161dcc 100644
--- a/src/domain.c
+++ b/src/domain.c
@@ -2178,7 +2178,7 @@ static void box_realloc (GfsBox * box, GfsDomain * domain)
 
   ftt_cell_traverse (box->root, FTT_PRE_ORDER, FTT_TRAVERSE_ALL, -1,
 		     (FttCellTraverseFunc) gfs_cell_reinit, domain);
-  for (d = 0; d < FTT_CELLS; d++)
+  for (d = 0; d < FTT_NEIGHBORS; d++)
     if (GFS_IS_BOUNDARY (box->neighbor[d]))
       ftt_cell_traverse (GFS_BOUNDARY (box->neighbor[d])->root, 
 			 FTT_PRE_ORDER, FTT_TRAVERSE_ALL, -1,

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list