~fluidity-core/fluidity/global_numbering

« back to all changes in this revision

Viewing changes to tests/test_vorticity_2d/test_vorticity_2d.xml

  • Committer: David Ham
  • Date: 2012-09-27 15:22:54 UTC
  • mfrom: (3475.1.599 fluidity)
  • Revision ID: david.ham@imperial.ac.uk-20120927152254-nr3ohx560wbg8s8n
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    <command_line>make clean-run; fluidity test_vorticity_2d.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="vtu" language="python">import vtktools
11
16
 
12
17
vtu = vtktools.vtu("test_vorticity_2d_0.vtu")</variable>
13
18
  </variables>
14
19
  <pass_tests>
 
20
    <test name="Solvers converged" language="python">
 
21
      assert(solvers_converged)
 
22
    </test>
15
23
    <test name="Vorticity" language="python">import fluidity_tools
16
24
 
17
25
for fieldName in ["P1", "P1Lumped", "P1DG", "P2", "P2DG"]: