~fluidity-core/fluidity/excise-fldecomp

« back to all changes in this revision

Viewing changes to tests/mms_tracer_cv_fesweby_adv_steady/mms_tracer_cv_fesweby_adv_steady.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:
7
7
    <command_line>fluidity -v1 -l MMS_A_cv.flml; fluidity -v1 -l MMS_B_cv.flml; fluidity -v1 -l MMS_C_cv.flml; fluidity -v1 -l MMS_D_cv.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="ab_convergence_gal_stat" language="python">
11
16
from fluidity_tools import stat_parser as stat
12
17
from math import log
113
118
    </variable>
114
119
  </variables>
115
120
  <pass_tests>
 
121
    <test name="Solvers converged" language="python">
 
122
      assert(solvers_converged)
 
123
    </test>
116
124
    <test name="ab_convergence_stat: L2 order in [1.3,1.6]" language="python">
117
125
assert(abs(ab_convergence_gal_stat[0]-1.45) &lt; 0.15)
118
126
    </test>