Lines Matching refs:tol
38 Real tol = std::numeric_limits<Real>::epsilon(); in test_dlp_norms() local
40 BOOST_CHECK_CLOSE_FRACTION(dlp.norm_sq(0), 3, tol); in test_dlp_norms()
41 BOOST_CHECK_CLOSE_FRACTION(dlp.norm_sq(1), 2, tol); in test_dlp_norms()
43 BOOST_CHECK_CLOSE_FRACTION(dlp.norm_sq(0), Real(5)/Real(2), tol); in test_dlp_norms()
44 BOOST_CHECK_CLOSE_FRACTION(dlp.norm_sq(1), Real(5)/Real(4), tol); in test_dlp_norms()
45 BOOST_CHECK_CLOSE_FRACTION(dlp.norm_sq(2), Real(3*3*7)/Real(pow(2,6)), 2*tol); in test_dlp_norms()
61 Real tol = std::numeric_limits<Real>::epsilon(); in test_dlp_evaluation() local
72 BOOST_CHECK_CLOSE_FRACTION(q2, expected, tol); in test_dlp_evaluation()
75 BOOST_CHECK_CLOSE_FRACTION(q3, expected, 2*tol); in test_dlp_evaluation()
87 BOOST_CHECK_CLOSE_FRACTION(q1, q2, tol); in test_dlp_evaluation()
93 BOOST_CHECK_CLOSE_FRACTION(q1, q2, tol); in test_dlp_evaluation()
105 BOOST_CHECK_CLOSE_FRACTION(l2_sq, l2_sq_expected, 20*tol); in test_dlp_evaluation()
114 Real tol = std::numeric_limits<Real>::epsilon(); in test_dlp_next() local
123 BOOST_CHECK_CLOSE(dlp.next(), dlp(x, k), tol); in test_dlp_next()
129 BOOST_CHECK_CLOSE(dlp.next_prime(), dlp.prime(x, k), tol); in test_dlp_next()
140 Real tol = 10*std::numeric_limits<Real>::epsilon(); in test_dlp_derivatives() local
150 BOOST_CHECK_CLOSE_FRACTION(q2p, expected, tol); in test_dlp_derivatives()
170 Real tol = std::numeric_limits<Real>::epsilon(); in test_interior_velocity_filter() local
183 BOOST_CHECK_CLOSE_FRACTION(cond.sum(), half<Real>(), 2*cond()*tol); in test_interior_velocity_filter()
193 BOOST_CHECK_CLOSE_FRACTION(expected, cond.sum(), 7*cond()*tol); in test_interior_velocity_filter()
209 Real tol = std::numeric_limits<Real>::epsilon(); in test_interior_lanczos() local
221 BOOST_CHECK_SMALL(dvdt, tol); in test_interior_lanczos()
226 BOOST_CHECK_SMALL(dvdt[m], tol); in test_interior_lanczos()
245 BOOST_CHECK_CLOSE_FRACTION(dvdt, 7, 2000*tol); in test_interior_lanczos()
250 BOOST_CHECK_CLOSE_FRACTION(dvdt[m], 7, 2000*tol); in test_interior_lanczos()
320 Real tol = std::numeric_limits<Real>::epsilon(); in test_boundary_velocity_filters() local
335 BOOST_CHECK_CLOSE_FRACTION(cond.sum(), -f[f.size()-1], 6*cond()*tol); in test_boundary_velocity_filters()
344 BOOST_CHECK_CLOSE_FRACTION(cond.sum(), 1, 6*cond()*tol); in test_boundary_velocity_filters()
361 BOOST_CHECK_SMALL(cond.sum(), cond()*tol); in test_boundary_velocity_filters()
365 BOOST_CHECK_CLOSE_FRACTION(expected, cond.sum(), 200*cond()*tol); in test_boundary_velocity_filters()
384 Real tol = std::numeric_limits<Real>::epsilon(); in test_boundary_lanczos() local
395 BOOST_CHECK_SMALL(dvdt, 4*sqrt(tol)); in test_boundary_lanczos()
400 BOOST_CHECK_SMALL(dvdt, 4*sqrt(tol)); in test_boundary_lanczos()
418 BOOST_CHECK_CLOSE_FRACTION(dvdt, 7, sqrt(tol)); in test_boundary_lanczos()
424 BOOST_CHECK_CLOSE_FRACTION(dvdt, 7, 4*sqrt(tol)); in test_boundary_lanczos()
441 BOOST_CHECK_CLOSE_FRACTION(lsd(v,m), 30*m+7, 30*sqrt(tol)); in test_boundary_lanczos()
592 Real tol = std::numeric_limits<Real>::epsilon(); in test_rescaling() local
608 BOOST_CHECK_CLOSE_FRACTION(dvdt1[i], 2*dvdt2[i], tol); in test_rescaling()
620 BOOST_CHECK_CLOSE_FRACTION(dv2dt21[i], 4*dv2dt22[i], tol); in test_rescaling()
628 Real tol = 150*std::numeric_limits<Real>::epsilon(); in test_data_representations() local
641 BOOST_CHECK_CLOSE_FRACTION(dvdt[i], 9, tol); in test_data_representations()
655 BOOST_CHECK_CLOSE_FRACTION(dwdt[i], 9, tol); in test_data_representations()
664 BOOST_CHECK_CLOSE_FRACTION(v2[i], 9, tol); in test_data_representations()
673 BOOST_CHECK_SMALL(v2[i], 10*tol); in test_data_representations()