~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/bench/ode/reaction/bench-plot.py

  • Committer: Johannes Ring
  • Date: 2008-03-05 22:43:06 UTC
  • Revision ID: johannr@simula.no-20080305224306-2npsdyhfdpl2esji
The BIG commit!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
 
#
3
 
# Copyright (C) 2006 Anders Logg.
4
 
# Licensed under the GNU LGPL Version 2.1.
5
 
#
6
 
# Run benchmark to generate data for plots
7
 
 
8
 
from os import system
9
 
from time import time
10
 
 
11
 
system("./dolfin-ode-reaction mcg fixed-point 1e-6 1000 5.0 parameters-plot.xml")
12
 
system("mv primal.m solution.m")
13
 
 
14
 
system("./dolfin-ode-reaction mcg fixed-point 5e-8 1000 5.0 parameters-plot.xml")
15
 
system("mv primal.m solution_fine_tolerance.m")
16
 
 
17
 
system("./dolfin-ode-reaction mcg fixed-point 1e-6 16000 80.0 parameters-plot.xml")
18
 
system("mv primal.m solution_large_domain.m")