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

Stephane Popinet popinet at users.sf.net
Tue Nov 24 12:24:20 UTC 2009


The following commit has been merged in the upstream branch:
commit f14d42acac55a6ff657c4a44bd1af489ef40157c
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Wed Jul 8 10:24:53 2009 +1000

    OutputBalance ignores box pids for serial runs
    
    darcs-hash:20090708002453-d4795-083a33d43ae947974eb1158ff9291b19ad19c7a0.gz

diff --git a/src/domain.c b/src/domain.c
index 8bc9e13..2ec6370 100644
--- a/src/domain.c
+++ b/src/domain.c
@@ -1537,7 +1537,7 @@ static void cell_count (FttCell * cell, guint * count)
   (*count)++;
 }
 
-#define BPID(b) ((b)->pid > 0 ? (b)->pid : 0)
+#define BPID(b) (gfs_box_domain (b)->pid >= 0 && (b)->pid > 0 ? (b)->pid : 0)
 
 static void box_count (GfsBox * b, GArray * a)
 {

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list