From: bangerth Date: Thu, 23 Jun 2011 17:36:26 +0000 (+0000) Subject: Make our lives a bit easier in counting how many variables we output. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ded4be074b9fa5f388f54306ab10dbf0e3cac845;p=dealii-svn.git 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 --- 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(); }