~amcg-stokes/fluidity/multimaterial_diagnostic_dependencies

« back to all changes in this revision

Viewing changes to tests/viscous_fs_zhong_spatial/viscous_fs_zhong_spatial.xml

  • Committer: Cian Wilson
  • Date: 2012-12-10 20:21:07 UTC
  • mfrom: (4132.1.7 fluidity)
  • Revision ID: cwilson@ldeo.columbia.edu-20121210202107-5wppwqcba4bfd1r3
Merging in changes from lp:fluidity.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0' encoding='utf-8'?>
 
2
<testproblem>
 
3
  <name>viscous_fs_zhong</name>
 
4
  <owner userid="cwilson"/>
 
5
  <tags>flml</tags>
 
6
  <problem_definition length="medium" nprocs="1">
 
7
    <command_line>mpiexec -np 3 ../../bin/flredecomp -i 1 -o 3 viscous_fs_zhong_A viscous_fs_zhong_A_parallel; mpiexec -np 3 ../../bin/flredecomp -i 1 -o 3 viscous_fs_zhong_B viscous_fs_zhong_B_parallel; mpiexec -np 3 ../../bin/fluidity -v2 -l viscous_fs_zhong_A_parallel.flml ; mpiexec -np 3 ../../bin/fluidity -v2 -l viscous_fs_zhong_B_parallel.flml</command_line>
 
8
  </problem_definition>
 
9
  <variables>
 
10
    <variable name="finish_time_a" language="python">from fluidity_tools import stat_parser as stat
 
11
 
 
12
file1 = "viscous_fs_zhong_A.stat"
 
13
 
 
14
finish_time_a = stat(file1)["ElapsedTime"]["value"][-1]</variable>
 
15
    <variable name="ab_convergence_fs" language="python">import calculate_order_zhong_spatial as calculate_order
 
16
 
 
17
file1 = "viscous_fs_zhong_A.stat"
 
18
file2 = "viscous_fs_zhong_B.stat"
 
19
 
 
20
ab_convergence_fs = calculate_order.report_convergence(file1, file2)</variable>
 
21
    <variable name="finish_time_b" language="python">from fluidity_tools import stat_parser as stat
 
22
 
 
23
file1 = "viscous_fs_zhong_B.stat"
 
24
 
 
25
finish_time_b = stat(file1)["ElapsedTime"]["value"][-1]</variable>
 
26
  </variables>
 
27
  <pass_tests>
 
28
    <test name="afinish" language="python">assert(finish_time_a&gt;64.0)</test>
 
29
    <test name="bfinish" language="python">assert(finish_time_b&gt;64.0)</test>
 
30
    <test name="abtop" language="python">assert(ab_convergence_fs[0]&gt;1.95)</test>
 
31
    <test name="abbot" language="python">assert(ab_convergence_fs[1]&gt;1.95)</test>
 
32
  </pass_tests>
 
33
</testproblem>