~fluidity-core/fluidity/sediment_restructure

« back to all changes in this revision

Viewing changes to tests/lock_exchange_2d_dg_quad/lock_exchange_2d_dg_quad.xml

merge with branch including remap_surface_to_field but then removed this change and approached it a different way which seems to work

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8" ?>
2
 
 
3
 
<testproblem>
4
 
  <name>driven_cavity_2d_dg</name>
5
 
  <owner userid="dham"/>
6
 
  <tags>flml</tags>
7
 
  <problem_definition length="special" nprocs="1">
8
 
    <command_line>fluidity  driven_cavity.flml </command_line>
9
 
    <!-- Two dimensional wind driven cavity. -->
10
 
  </problem_definition>
11
 
  <variables>
12
 
    <variable name="tracer_integral" language="python">
13
 
from fluidity_tools import stat_parser
14
 
s = stat_parser("heat.stat")
15
 
tracer_integral = s["Water"]["Tracer"]["integral"][-1]
16
 
    </variable>
17
 
  </variables>
18
 
  <pass_tests>
19
 
    <test name="tracer integral is 1.0" language="python">
20
 
assert abs(tracer_integral - 1.0) &lt; 1e-3
21
 
    </test>
22
 
  </pass_tests>
23
 
  <warn_tests>
24
 
  </warn_tests>
25
 
</testproblem>