~asc/fluidity/iceshelfcavity

« back to all changes in this revision

Viewing changes to legacy_reservoir_prototype/tests/BL_test_10elements_1d_compressible/BL_test_10elements_1d_compressible.xml

  • Committer: Adam Candy
  • Date: 2011-10-12 20:39:04 UTC
  • Revision ID: adam.candy@imperial.ac.uk-20111012203904-9gwqzs4z798zcw0l
Automatic sync to launchpad

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8" ?>
2
 
<!DOCTYPE testproblem SYSTEM "regressiontest.dtd">
3
 
 
4
 
<testproblem>
5
 
  <name>BL_test_10elements_1d_compressible</name>
6
 
  <owner userid="Bob"/>
7
 
  <tags></tags>
8
 
  <problem_definition length="special" nprocs="1">
9
 
    <command_line>
10
 
       ../../bin/MultiphasePrototype.bin input.dat
11
 
    </command_line>
12
 
    <!-- One dimensional problem for BL equation WITH COMPRESSIBLE EOS using 10 elements tested against a previous run (ie. regression test) of the spatial dump files -->
13
 
  </problem_definition>
14
 
  <variables>
15
 
     <variable name="check_saturation_FEM_phase_1_dump100" language="python">
16
 
import MultiphasePrototype_Tools
17
 
check_saturation_FEM_phase_1_dump100 = MultiphasePrototype_Tools.compare_two_files("saturation_FEM_phase_1.d.100","regression_reference_answer_10elements/saturation_FEM_phase_1.d.100",1.0e-10,1,30,1,30)
18
 
     </variable>
19
 
     <variable name="check_saturation_FEM_phase_1_dump_1_to_100" language="python">
20
 
import MultiphasePrototype_Tools
21
 
check_saturation_FEM_phase_1_dump_1_to_100 = MultiphasePrototype_Tools.compare_two_files_dump_seris("saturation_FEM_phase_1","regression_reference_answer_10elements/saturation_FEM_phase_1",1,100,1.0e-10,1,30,1,30)
22
 
     </variable>
23
 
     <variable name="check_saturation_FEM_phase_2_dump_1_to_100" language="python">
24
 
import MultiphasePrototype_Tools
25
 
check_saturation_FEM_phase_2_dump_1_to_100 = MultiphasePrototype_Tools.compare_two_files_dump_seris("saturation_FEM_phase_2","regression_reference_answer_10elements/saturation_FEM_phase_2",1,100,1.0e-10,1,30,1,30)
26
 
     </variable>
27
 
  </variables>
28
 
  <pass_tests>
29
 
     <test name="Check saturation phase 1 dump 100 against MultiphasePrototype regression reference" language="python">
30
 
   assert check_saturation_FEM_phase_1_dump100 &gt; 0
31
 
     </test>    
32
 
     <test name="Check saturation phase 1 dump 1 to 100 against MultiphasePrototype regression reference" language="python">
33
 
   assert check_saturation_FEM_phase_1_dump_1_to_100 &gt; 0
34
 
     </test>    
35
 
     <test name="Check saturation phase 2 dump 1 to 100 against MultiphasePrototype regression reference" language="python">
36
 
   assert check_saturation_FEM_phase_2_dump_1_to_100 &gt; 0
37
 
     </test>    
38
 
  </pass_tests>
39
 
  <warn_tests>
40
 
  </warn_tests>
41
 
</testproblem>