From 1545895da9e8bb3ddbc9f89cd9b5ad00415e8b3d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 13 May 2020 15:24:16 -0600 Subject: [PATCH] Use a better description of the error estimator vector in the output. --- examples/step-50/step-50.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/step-50/step-50.cc b/examples/step-50/step-50.cc index 7e92b77d7d..f28a5409d4 100644 --- a/examples/step-50/step-50.cc +++ b/examples/step-50/step-50.cc @@ -1388,9 +1388,9 @@ void LaplaceProblem::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::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 -- 2.39.5