From edeb2fc9ae3d24a51f1132c4ad8b7292b7d9ddb0 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 29 Jan 2009 18:44:25 +0000 Subject: [PATCH] Make the compute_viscosity function 'const'. git-svn-id: https://svn.dealii.org/trunk@18312 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-31/step-31.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/examples/step-31/step-31.cc b/deal.II/examples/step-31/step-31.cc index 77d795f16f..0d1da76c16 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -604,7 +604,7 @@ class BoussinesqFlowProblem const std::vector &gamma_values, const double global_u_infty, const double global_T_variation, - const double cell_diameter); + const double cell_diameter) const; Triangulation triangulation; @@ -984,7 +984,7 @@ compute_viscosity (const std::vector &old_temperature, const std::vector &gamma_values, const double global_u_infty, const double global_T_variation, - const double cell_diameter) + const double cell_diameter) const { const double beta = 0.015 * dim; const double alpha = 1; -- 2.39.5