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

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


The following commit has been merged in the upstream branch:
commit c8dfbfc9fe329bed526baa13d1462f6711d9c0cf
Author: Stephane Popinet <s.popinet at niwa.co.nz>
Date:   Sat Apr 9 23:55:33 2005 +1000

    Updated boussinesq example
    
    darcs-hash:20050409135533-fbd8f-cd1e2d840ba00d87af22fece9e8ee42c530d115b.gz

diff --git a/doc/examples/boussinesq/boussinesq.gfs b/doc/examples/boussinesq/boussinesq.gfs
index 64ac4bf..c145cdd 100644
--- a/doc/examples/boussinesq/boussinesq.gfs
+++ b/doc/examples/boussinesq/boussinesq.gfs
@@ -83,8 +83,11 @@
   # the simulation file and will output a PPM screenshot on its standard output
   EventScript { istep = 4 } { echo "Save stdout { width = 256 height = 512 }" }
  
-  # At the end of the simulation, GfsView will create the EPS file used in the doc.
-  EventScript { start = end } { echo "Save t.eps { format = EPS }" }
+  # At t = 19, GfsView will create the PPM file used in the doc.
+  EventScript { start = 19 } { echo "Save t.ppm { width = 256 height = 512 }" }
+
+  # At the end of the simulation this file is converted to EPS.
+  EventScript { start = end } { convert -colors 256 t.ppm t.eps ; rm -f t.ppm }
 }
 GfsBox {}
 # The top boundary is a simple outflow condition. This could cause problems

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list