~reducedmodelling/fluidity/ROM_Non-intrusive-ann

« back to all changes in this revision

Viewing changes to tests/shallow_water_mms_wave_source_steady/shallow_water_mms_wave_source_steady.xml

  • Committer: sf1409
  • Date: 2011-03-03 11:46:55 UTC
  • Revision ID: svn-v4:5bf5533e-7014-46e3-b1bb-cce4b9d03719:trunk:3142
replace the steady source test for the shallow water equation by one where the source is time and spatial varying.

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
 
<testproblem>
4
 
  <name>Shallow Water Equation MMS</name>
5
 
  <owner userid="sf1409"/>
6
 
  <tags>swml</tags>
7
 
  <problem_definition length="medium" nprocs="1">
8
 
    <command_line> shallow_water steady_dt_A.swml; shallow_water steady_dt_B.swml; shallow_water steady_dt_C.swml; shallow_water steady_dt_D.swml; shallow_water steady_dt_E.swml; shallow_water steady_dt_dx_A.swml; shallow_water steady_dt_dx_B.swml; shallow_water steady_dt_dx_C.swml; shallow_water steady_dt_dx_D.swml; shallow_water steady_dt_dx_E.swml</command_line>
9
 
  </problem_definition>
10
 
  <variables>
11
 
    <variable name="passed" language="python">
12
 
import convergence_rate
13
 
convergence_rate.print_convergence_rates()
14
 
passed = convergence_rate.test_convergence_rates(1.8, True)  # We only check the convergence for coupled spatial and time variation.
15
 
    </variable>
16
 
  </variables>
17
 
  <pass_tests>
18
 
    <test name="convergence" language="python">
19
 
assert(passed)
20
 
    </test>
21
 
  </pass_tests>
22
 
  <warn_tests>
23
 
  </warn_tests>
24
 
</testproblem>
25