From: Timo Heister Date: Thu, 30 May 2013 21:47:19 +0000 (+0000) Subject: revert accidental change from r29647 X-Git-Tag: v8.0.0~369 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=316f671d92917e360f4ce9bcb2ff421c1e7d2664;p=dealii.git revert accidental change from r29647 git-svn-id: https://svn.dealii.org/trunk@29673 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-50/step-50.cc b/deal.II/examples/step-50/step-50.cc index e0113bca71..640b9313ae 100644 --- a/deal.II/examples/step-50/step-50.cc +++ b/deal.II/examples/step-50/step-50.cc @@ -925,20 +925,8 @@ namespace Step50 solution = 0; - try - { cg.solve (system_matrix, solution, system_rhs, preconditioner); - } - catch (...) - { - output_results(42); - constraints.distribute (solution); - output_results(43); - MPI_Barrier(MPI_COMM_WORLD); - exit(0); - } - constraints.distribute (solution); } @@ -979,7 +967,6 @@ namespace Step50 GridRefinement::refine_and_coarsen_fixed_number (triangulation, estimated_error_per_cell, 0.3, 0.03); - triangulation.execute_coarsening_and_refinement (); } @@ -1000,7 +987,6 @@ namespace Step50 TrilinosWrappers::MPI::Vector res_ghosted = temp_solution; res_ghosted = temp; - data_out.attach_dof_handler (mg_dof_handler); data_out.add_data_vector (temp_solution, "solution"); data_out.add_data_vector (res_ghosted, "res"); @@ -1115,7 +1101,7 @@ int main (int argc, char *argv[]) using namespace dealii; using namespace Step50; - LaplaceProblem<2> laplace_problem(3); + LaplaceProblem<2> laplace_problem(1); laplace_problem.run (); } catch (std::exception &exc)