From: Timo Heister Date: Thu, 5 Nov 2015 14:02:50 +0000 (-0500) Subject: fix tests X-Git-Tag: v8.4.0-rc2~249^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d33180f3ad79f2ed96e5644f13f7f5b82a02c3e;p=dealii.git fix tests - use std_cxx11::bind instead of std::bind - require Trilinos if we use it - fe/bdm_*: do not set matrix entries <1e-14 to zero (different on different machines) and always print 0 entries - use check_solver_within_range where needed --- diff --git a/tests/fe/bdm_8.cc b/tests/fe/bdm_8.cc index de8f98129d..7ba8dfabcf 100644 --- a/tests/fe/bdm_8.cc +++ b/tests/fe/bdm_8.cc @@ -73,26 +73,23 @@ test (const unsigned int degree) += (fe.shape_value_component(i,q_point,d) * fe.shape_value_component(j,q_point,d) * fe.JxW(q_point)); - for (unsigned int i=0; i vector_memory; - SolverCG<> cg (solver_control, vector_memory); + SolverCG<> solver (solver_control, vector_memory); Vector tmp1(dofs_per_cell), tmp2(dofs_per_cell); for (unsigned int i=0; i vector_memory; - SolverCG<> cg (solver_control, vector_memory); + SolverCG<> solver (solver_control, vector_memory); Vector tmp1(dofs_per_cell), tmp2(dofs_per_cell); for (unsigned int i=0; i