~fluidity-core/fluidity/excise-fldecomp

« back to all changes in this revision

Viewing changes to tests/sediment_critical_shear/sediment_critical_shear.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
    <!-- Check that the sediment critical shear calculation is correct -->
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="sediment_flux_200" language="python">
13
18
from fluidity_tools import stat_parser
14
19
s = stat_parser("Sediment_Reentrainment.stat")
37
42
 
38
43
  </variables>
39
44
  <pass_tests>
 
45
    <test name="Solvers converged" language="python">
 
46
      assert(solvers_converged)
 
47
    </test>
40
48
      <!-- initial concentration = 0.1, sinking velocity = 0.1, therefore after 200 seconds 
41
49
           we should have 2m of sediment, which should be an integral of 200m over the 10m channel
42
50
           -->