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

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


The following commit has been merged in the upstream branch:
commit 3325a3b42c4330ec8eb7a9660ff29cb2f404c6f2
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Tue Oct 20 07:39:11 2009 +1100

    Fixed missing header in OutputSimulation
    
    darcs-hash:20091019203911-d4795-c5fc96556b6285bfdb4a59b8367f5dcf35b8ea84.gz

diff --git a/src/output.c b/src/output.c
index 52c91d6..8e05112 100644
--- a/src/output.c
+++ b/src/output.c
@@ -1340,7 +1340,7 @@ static gboolean output_simulation_event (GfsEvent * event, GfsSimulation * sim)
       break;
 
     case GFS_TEXT: {
-      if (GFS_OUTPUT (output)->parallel || domain->pid == 0) {
+      if (GFS_OUTPUT (output)->parallel || domain->pid <= 0) {
 	FILE * fp = GFS_OUTPUT (event)->file->fp;
 	GSList * i = domain->variables_io;
 	guint nv = 4;

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list