From: Guido Kanschat Date: Thu, 11 Oct 2007 16:24:08 +0000 (+0000) Subject: adjust to new structure X-Git-Tag: v8.0.0~9783 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95df3cde9b4ef55e3b418f43138d41615d21d671;p=dealii.git adjust to new structure git-svn-id: https://svn.dealii.org/trunk@15290 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/deal.II/filtered_matrix.cc b/tests/deal.II/filtered_matrix.cc index 68f2c57331..19e245e22d 100644 --- a/tests/deal.II/filtered_matrix.cc +++ b/tests/deal.II/filtered_matrix.cc @@ -50,20 +50,22 @@ solve_filtered (std::map &bv, Vector &u, Vector &f) { - FilteredMatrix > A1 (A); + FilteredMatrix > A1 (A); A1.add_constraints (bv); SolverControl control (1000, 1.e-10, false, false); PrimitiveVectorMemory > mem; SolverCG > solver (control, mem); - PreconditionJacobi > > prec; - prec.initialize (A1, 1.2); + PreconditionJacobi > prec; + FilteredMatrix > fprec; + prec.initialize (A, 1.2); + fprec.initialize(prec); Vector f1 (f.size()); f1 = f; A1.apply_constraints (f1, true); - solver.solve (A1, u, f1, prec); + solver.solve (A1, u, f1, fprec); for (std::map::const_iterator i=bv.begin(); i!=bv.end(); ++i)