~fluidity-core/fluidity/excise-fldecomp

« back to all changes in this revision

Viewing changes to tests/diffusion_2d_p0_parallel/diffusion_2d_p0_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:
9
9
    <!-- Two dimensional diffusion only problem. -->
10
10
  </problem_definition>
11
11
  <variables>
 
12
    <variable name="solvers_converged" language="python">
 
13
import os
 
14
files = os.listdir("./")
 
15
solvers_converged = not "matrixdump" in files and not "matrixdump.info" in files
 
16
    </variable>
12
17
    <variable name="tracer_integral0" language="python">
13
18
from fluidity_tools import stat_parser
14
19
s = stat_parser("heat.stat")
31
36
    </variable>
32
37
  </variables>
33
38
  <pass_tests>
 
39
    <test name="Solvers converged" language="python">
 
40
      assert(solvers_converged)
 
41
    </test>
34
42
    <test name="tracer integral is intially 1.0" language="python">
35
43
assert abs(tracer_integral0 - 1.0) &lt; 1e-3
36
44
    </test>