From bf9a9a88c0a7225ba3ec8bd214127c9b20337d77 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 23 Mar 2011 09:01:03 +0000 Subject: [PATCH] step-32: in 2d we want the 12er hyber shell, not the 96er git-svn-id: https://svn.dealii.org/trunk@23510 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index b9642cf42e..14b35753a0 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -305,7 +305,7 @@ namespace LinearSolvers void solve_A(TrilinosWrappers::MPI::Vector &dst, const TrilinosWrappers::MPI::Vector &src) const { - SolverControl cn(5000, src.l2_norm()*1e-4); + SolverControl cn(5000, src.l2_norm()*1e-2); TrilinosWrappers::SolverCG solver(cn); solver.solve(stokes_matrix->block(0,0), dst, src, a_preconditioner); } @@ -3710,7 +3710,7 @@ void BoussinesqFlowProblem::run (const std::string parameter_filename) Point(), EquationData::R0, EquationData::R1, - 96, + (dim==3) ? 96 : 12, true); static HyperShellBoundary boundary; triangulation.set_boundary (0, boundary); -- 2.39.5