~pefarrell/fluidity/fix-intel-12

« back to all changes in this revision

Viewing changes to tests/darcy_p0p1_test_cty_cv_pressBCinlet_advect_tracer_p0_steptwochannel/darcy_p0p1_test_cty_cv_pressBCinlet_advect_tracer_p0_steptwochannel.xml

  • Committer: Brendan Tollit
  • Date: 2012-02-24 07:39:50 UTC
  • Revision ID: brendan.tollit05@imperial.ac.uk-20120224073950-2lzf18ei6he6tw11
Relax two tolerances for the intel build for this recently added test.

5.0e-03 --> 8.0e-03 (integral of tracer)

5.0e-04 --> 6.0e-04 (min of tracer)

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
print 'Solution relative error: ',abs((min_inter_vel_2d - analytic_vel)/analytic_vel)
64
64
assert abs((min_inter_vel_2d - analytic_vel)/analytic_vel) < 1.0e-08
65
65
    </test>
66
 
    <test name="Integral of tracer_cons_exp_weakbc_upwind for 2d such that both channel tracer 75% way through domain with tolerance 5.0e-03" language="python">
 
66
    <test name="Integral of tracer_cons_exp_weakbc_upwind for 2d such that both channel tracer 75% way through domain with tolerance 8.0e-03" language="python">
67
67
analytic_int = 67500
68
68
print 'Solution relative error: ',abs((integral_tracer_cons_exp_weakbc_upwind_2d - analytic_int)/analytic_int)
69
 
assert abs((integral_tracer_cons_exp_weakbc_upwind_2d - analytic_int)/analytic_int) &lt; 5.0e-03
 
69
assert abs((integral_tracer_cons_exp_weakbc_upwind_2d - analytic_int)/analytic_int) &lt; 8.0e-03
70
70
    </test>
71
71
    <test name="Max of tracer_cons_exp_weakbc_upwind for 2d should be 1.0, check with tolerance 1.0e-08" language="python">
72
72
analytic_int = 1.0
73
73
print 'Solution relative error: ',abs((max_tracer_cons_exp_weakbc_upwind_2d - analytic_int)/analytic_int)
74
74
assert abs((max_tracer_cons_exp_weakbc_upwind_2d - analytic_int)/analytic_int) &lt; 1.0e-08
75
75
    </test>
76
 
    <test name="Min of tracer_cons_exp_weakbc_upwind for 2d should be 0.0, check with tolerance 5.0e-04" language="python">
 
76
    <test name="Min of tracer_cons_exp_weakbc_upwind for 2d should be 0.0, check with tolerance 6.0e-04" language="python">
77
77
analytic_int = 0.0
78
78
print 'Solution absolute error: ',abs(min_tracer_cons_exp_weakbc_upwind_2d - analytic_int)
79
 
assert abs(min_tracer_cons_exp_weakbc_upwind_2d - analytic_int) &lt; 5.0e-04
 
79
assert abs(min_tracer_cons_exp_weakbc_upwind_2d - analytic_int) &lt; 6.0e-04
80
80
    </test>
81
81
  </pass_tests>
82
82
  <warn_tests>