~reducedmodelling/fluidity/ROM_Non-intrusive-ann

« back to all changes in this revision

Viewing changes to tests/periodic_2plus1_adaptivity/periodic_2plus1_adaptivity.xml

  • Committer: pfarrell
  • Date: 2010-03-19 13:13:14 UTC
  • Revision ID: svn-v4:5bf5533e-7014-46e3-b1bb-cce4b9d03719:trunk:729
Add a 2+1 periodic adaptivity test. Not working yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0' encoding='utf-8'?>
 
2
<testproblem>
 
3
  <name>Periodic 2+1 adaptivity</name>
 
4
  <owner userid="pfarrell"/>
 
5
  <tags>flml</tags>
 
6
  <problem_definition length="special" nprocs="1">
 
7
    <command_line>../../bin/periodise periodic_2plus1_adaptivity.flml; fluidity -v2 -l periodic_2plus1_adaptivity_periodised.flml</command_line>
 
8
  </problem_definition>
 
9
  <variables>
 
10
    <variable name="consistent_max" language="python">
 
11
import fluidity_tools
 
12
s = fluidity_tools.stat_parser("periodic_2plus1_adaptivity.stat")
 
13
consistent_max = s['Main']['PrognosticFieldConsistent']['max'][-1]
 
14
    </variable>
 
15
  </variables>
 
16
  <pass_tests>
 
17
    <test name="completion" language="python">import fluidity_tools
 
18
stat = fluidity_tools.stat_parser("periodic_2plus1_adaptivity.stat")
 
19
assert stat['ElapsedTime']['value'][-1] == 20.0</test>
 
20
    <test name="references" language="python">assert "There are no references left" in open("fluidity.log-0").read()</test>
 
21
    <test name="consistent_max" language="python">assert consistent_max == 1.0</test>
 
22
  </pass_tests>
 
23
  <warn_tests/>
 
24
</testproblem>