~fluidity-core/fluidity/excise-fldecomp

« back to all changes in this revision

Viewing changes to tests/gyre_2d/gyre_2d.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>fluidity -v3 -l  gyre.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="western_boundary_width" language="python">
12
17
import vtktools
13
18
f=vtktools.vtu('gyre_2.vtu')
19
24
    </variable>    
20
25
  </variables>
21
26
  <pass_tests>
 
27
    <test name="Solvers converged" language="python">
 
28
      assert(solvers_converged)
 
29
    </test>
22
30
    <test name="Check width of western boundary current (&lt; 0.25)." language="python">
23
31
import fluidity_tools
24
32
assert( western_boundary_width &lt; 0.25 )