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

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


The following commit has been merged in the upstream branch:
commit 45b9b0149c2e1c68fff49fdd63da6b3566b23fc1
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Wed Jul 22 09:54:01 2009 +1000

    Improved parallel example graph
    
    darcs-hash:20090721235401-d4795-c303bf349e1e16aef17da81f8b373cff2ff5a6c0.gz

diff --git a/doc/examples/cylinder/parallel/parallel.gfs b/doc/examples/cylinder/parallel/parallel.gfs
index e13426e..55c7f91 100644
--- a/doc/examples/cylinder/parallel/parallel.gfs
+++ b/doc/examples/cylinder/parallel/parallel.gfs
@@ -17,9 +17,8 @@
 # \end{figure}
 #
 # \begin{figure}[htbp]
-# \caption{\label{balance}Imbalance in mesh size as a function of time
-# expressed as the percent difference in number of elements between
-# the largest and smallest subdomain.}
+# \caption{\label{balance}Number of elements per processor as a
+# function of time.}
 # \begin{center}
 # \includegraphics[width=0.8\hsize]{balance.eps}
 # \end{center}
@@ -99,16 +98,15 @@
         if ($1 == "step:")
           t = $4;
         else if ($1 == "domain")
-          print t, 100.*($9/$3 - 1.);
+          print t, 100.*($9/$3 - 1.), $3, $5, $9;
       }' < balance > balance1
       cat <<EOF | gnuplot
       set term postscript eps lw 3 solid 20 colour
       set output 'balance.eps'
       set xlabel 'Time'
-      set ylabel 'Imbalance (%)'
-      set grid
-      unset key
-      plot [][0:100]'balance1' w l, 10
+      set ylabel 'Number of elements per processor'
+      set key bottom right
+      plot 'balance1' u 1:3 w l t 'minimum', '' u 1:4 w l t 'average', '' u 1:5 w l t 'maximum'
 EOF
   }
 }

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list