]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use a better description of the error estimator vector in the output.
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 13 May 2020 21:24:16 +0000 (15:24 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 15 May 2020 00:18:09 +0000 (19:18 -0500)
examples/step-50/step-50.cc

index 7e92b77d7dc883101efd04b08e05cb72dc7d797c..f28a5409d40fc69f8dc46b83fb9a8470a1fde24d 100644 (file)
@@ -1388,9 +1388,9 @@ void LaplaceProblem<dim, degree>::output_results(const unsigned int cycle)
   data_out.add_data_vector(level, "level");
 
   if (estimate_vector.size() > 0)
-    data_out.add_data_vector(estimate_vector, "estimator");
+    data_out.add_data_vector(estimate_vector, "error_estimator");
 
-  data_out.build_patches(0);
+  data_out.build_patches();
 
   const std::string master = data_out.write_vtu_with_pvtu_record(
     "", "solution", cycle, mpi_communicator, 2 /*n_digits*/, 1 /*n_groups*/);
@@ -1414,6 +1414,7 @@ void LaplaceProblem<dim, degree>::run()
 
       pcout << "   Number of active cells:       "
             << triangulation.n_global_active_cells();
+
       // We only output level cell data for the GMG methods (same with DoF
       // data below). Note that the partition efficiency is irrelevant for AMG
       // since the level hierarchy is not distributed or used during the

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.