]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
No longer output the residual to output files.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Oct 2013 23:52:01 +0000 (23:52 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Oct 2013 23:52:01 +0000 (23:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@31167 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 7f1babdacdef6fa0741e557729fbb78015a77d27..b2ec16ec14f8ef3ef91ec407779273cd53319397 100644 (file)
@@ -1994,10 +1994,6 @@ namespace Step42
     TrilinosWrappers::MPI::Vector lambda(locally_relevant_dofs, mpi_communicator);
     lambda = distributed_lambda;
 
-    TrilinosWrappers::MPI::Vector distributed_resid_vector(locally_owned_dofs, mpi_communicator);
-    constraints_hanging_nodes.distribute(distributed_resid_vector);
-    TrilinosWrappers::MPI::Vector resid_vector_relevant(locally_relevant_dofs, mpi_communicator);
-    resid_vector_relevant = distributed_resid_vector;
 
     DataOut<dim> data_out;
 
@@ -2014,9 +2010,6 @@ namespace Step42
     data_out.add_data_vector(active_set,
                              std::vector<std::string> (dim, "active_set"),
                              DataOut<dim>::type_dof_data, data_component_interpretation);
-    data_out.add_data_vector(resid_vector_relevant,
-                             std::vector<std::string> (dim, "residual"),
-                             DataOut<dim>::type_dof_data, data_component_interpretation);
 
     Vector<float> subdomain(triangulation.n_active_cells());
     for (unsigned int i = 0; i < subdomain.size(); ++i)

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.