From df444f6aeae4d947a9e18ee550ae391b947cd695 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 23 Jun 2011 17:36:26 +0000 Subject: [PATCH] Make our lives a bit easier in counting how many variables we output. git-svn-id: https://svn.dealii.org/trunk@23854 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index c1bfbd41cf..1f1b2a9199 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -1056,7 +1056,7 @@ BoussinesqFlowProblem::Parameters::Parameters (const std::string & paramete { ParameterHandler prm; BoussinesqFlowProblem::Parameters::declare_parameters (prm); - + std::ifstream parameter_file (parameter_filename.c_str()); if (!parameter_file) @@ -3180,7 +3180,7 @@ template unsigned int BoussinesqFlowProblem::Postprocessor::n_output_variables() const { - return dim + 1 + 1 + 1 + 1 + 1 + 1; + return get_names().size(); } -- 2.39.5