From: bangerth Date: Sat, 28 Jan 2012 13:50:44 +0000 (+0000) Subject: Fix one oversight. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f50cdb6a33664e7f77284533a5ca0d01a99b8ba0;p=dealii-svn.git Fix one oversight. git-svn-id: https://svn.dealii.org/trunk@24948 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-43/step-43.cc b/deal.II/examples/step-43/step-43.cc index 7ee280e02d..04d75dfdb8 100644 --- a/deal.II/examples/step-43/step-43.cc +++ b/deal.II/examples/step-43/step-43.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* */ -/* Copyright (C) 2010, 2011 by Chih-Che Chueh and the deal.II authors */ +/* Copyright (C) 2010, 2011, 2012 by Chih-Che Chueh and the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -2424,7 +2424,7 @@ compute_viscosity (const std::vector &old_saturation, max_velocity = std::max (std::sqrt (u*u), max_velocity); } - const double global_scaling = global_u_infty * global_S_variation / + const double global_scaling = global_u_infty * std::pow(global_S_variation,alpha) / std::pow(global_Omega_diameter, alpha - 2.); return (beta *