~fluidity-core/fluidity/excise-fldecomp

« back to all changes in this revision

Viewing changes to tests/channel_wind_drag_parallel/channel_wind_drag_parallel.xml

  • Committer: Mark Filipiak
  • Date: 2012-08-13 11:42:30 UTC
  • mfrom: (4003.1.23 dev-trunk)
  • Revision ID: mjf@staffmail.ed.ac.uk-20120813114230-wzoyf2gi4p4oxeh4
Merge in of the latest trunk.  To try to cure non-flredecomp tests that are passing at EPCC but failing in buildbot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    <command_line>mpiexec -np 4 ../../bin/fluidity -v3 -l  channel_parallel_periodised_flredecomp.flml </command_line>
9
9
  </problem_definition>
10
10
  <variables>
 
11
    <variable name="solvers_converged" language="python">
 
12
import os
 
13
files = os.listdir("./")
 
14
solvers_converged = not "matrixdump" in files and not "matrixdump.info" in files
 
15
    </variable>
11
16
    <variable name="numerical_solution" language="python">
12
17
import vtktools
13
18
# read in the .vtu
44
49
    </variable>
45
50
  </variables>
46
51
  <pass_tests>
 
52
    <test name="Solvers converged" language="python">
 
53
      assert(solvers_converged)
 
54
    </test>
47
55
    <test name="Compare with analytical solution" language="python">
48
56
import fluidity_tools
49
57
fluidity_tools.compare_variables(numerical_solution, analytical_solution, 1e-3)