~iceshelfcavity/fluidity/basalmelt

« back to all changes in this revision

Viewing changes to tests/cube-1/cube-1.xml

  • Committer: Adam Candy
  • Date: 2012-07-31 12:45:55 UTC
  • mfrom: (3564.21.277 fluidity)
  • Revision ID: adam.candy@imperial.ac.uk-20120731124555-kdmekgqul3u5vjgl
Merge in of trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    <command_line>fluidity -v2 -l cube-1.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="norm1" language="python">
12
17
from fluidity_tools import stat_parser
13
18
s = stat_parser("cube-1.stat")
28
33
    </variable>
29
34
  </variables>
30
35
  <pass_tests>
 
36
    <test name="Solvers converged" language="python">
 
37
      assert(solvers_converged)
 
38
    </test>
31
39
<!-- The difference in the geostrophic pressure accross the channel should be 2*Omega. 
32
40
In this case this is 2.0 -->
33
41
    <test name="geostrophic pressure difference (first timestep)" language="python">