~fluidity-core/fluidity/global_numbering

« back to all changes in this revision

Viewing changes to tests/square-convection-parallel/square-convection-parallel.xml

  • Committer: David Ham
  • Date: 2012-09-27 15:22:54 UTC
  • mfrom: (3475.1.599 fluidity)
  • Revision ID: david.ham@imperial.ac.uk-20120927152254-nr3ohx560wbg8s8n
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    <command_line>mpiexec -n 2 ../../bin/fluidity -v2 -l square-convection.flml</command_line>
8
8
  </problem_definition>
9
9
  <variables>
 
10
    <variable name="solvers_converged" language="python">
 
11
import os
 
12
files = os.listdir("./")
 
13
solvers_converged = not "matrixdump" in files and not "matrixdump.info" in files
 
14
    </variable>
10
15
    <variable name = "time" language = "python">
11
16
import fluidity_tools
12
17
s = fluidity_tools.stat_parser("square-convection.stat")
14
19
    </variable>
15
20
  </variables>
16
21
  <pass_tests>
 
22
    <test name="Solvers converged" language="python">
 
23
      assert(solvers_converged)
 
24
    </test>
17
25
<!--Crash tests-->
18
26
    <test name = "Simulation completed" language = "python">
19
27
import fluidity_tools