]> https://gitweb.dealii.org/ - dealii.git/commitdiff
step-32: in 2d we want the 12er hyber shell, not the 96er
authorTimo Heister <timo.heister@gmail.com>
Wed, 23 Mar 2011 09:01:03 +0000 (09:01 +0000)
committerTimo Heister <timo.heister@gmail.com>
Wed, 23 Mar 2011 09:01:03 +0000 (09:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@23510 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-32/step-32.cc

index b9642cf42ec3ee7158d69bca3acb10dc6e75974a..14b35753a0c3c11260019a4ed6ffc4a786c5b8e9 100644 (file)
@@ -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<dim>::run (const std::string parameter_filename)
                              Point<dim>(),
                              EquationData::R0,
                              EquationData::R1,
-                             96,
+                             (dim==3) ? 96 : 12,
                              true);
   static HyperShellBoundary<dim> boundary;
   triangulation.set_boundary (0, boundary);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.