~fluidity-core/fluidity/excise-fldecomp

« back to all changes in this revision

Viewing changes to tests/parallel_p0_consistent_interpolation_3d/parallel_p0_consistent_interpolation_3d.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>make clean-run; mpiexec -n 3 ../../bin/flredecomp -i 1 -o 3 -v -l parallel_p0_consistent_interpolation parallel_p0_consistent_interpolation_flredecomp; mpiexec -n 3 ../../bin/fluidity -v2 -l parallel_p0_consistent_interpolation_flredecomp.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="stat" language="python">import fluidity_tools
11
16
 
12
17
stat = fluidity_tools.stat_parser("parallel_p0_consistent_interpolation.stat")</variable>
28
33
initialVtu = vtutools.PvtuToVtu(vtktools.vtu("parallel_p0_consistent_interpolation_0.pvtu"))</variable>
29
34
  </variables>
30
35
  <pass_tests>
 
36
    <test name="Solvers converged" language="python">
 
37
      assert(solvers_converged)
 
38
    </test>
31
39
    <test name="SimulationCompleted" language="python">print "Timesteps: ", len(stat["ElapsedTime"])
32
40
 
33
41
assert(len(stat["ElapsedTime"]) == 1)</test>