~fluidity-core/fluidity/excise-fldecomp

« back to all changes in this revision

Viewing changes to tests/heat-transfer-eqn-channel/heat-transfer-eqn-channel.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 -v2 -l channel_flow_input.flml || true &amp;&amp; fluidity  channel_flow_1_checkpoint.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="mxvfrac0" language="python"> 
12
17
import fluidity_tools
13
18
mxvfrac0 = fluidity_tools.stat_parser("channel_flow.stat")['Water']['Tracer']['max'][0]
59
64
    </variable>
60
65
  </variables>
61
66
    <pass_tests>  
 
67
      <test name="Solvers converged" language="python">
 
68
        assert(solvers_converged)
 
69
      </test>
62
70
    <test name="check minimum volume fraction is 0.0" language="python">
63
71
   assert abs(mnvfrac) &lt; 1e-10
64
72
    </test>