[cig-commits] r1293 - trunk/aspect/source/material_model

gassmoeller at dealii.org gassmoeller at dealii.org
Thu Oct 18 15:12:21 PDT 2012


Author: gassmoeller
Date: 2012-10-18 16:12:21 -0600 (Thu, 18 Oct 2012)
New Revision: 1293

Modified:
   trunk/aspect/source/material_model/simple.cc
Log:
Fix variable name in simple model.

Modified: trunk/aspect/source/material_model/simple.cc
===================================================================
--- trunk/aspect/source/material_model/simple.cc	2012-10-18 22:01:29 UTC (rev 1292)
+++ trunk/aspect/source/material_model/simple.cc	2012-10-18 22:12:21 UTC (rev 1293)
@@ -39,7 +39,7 @@
                const Point<dim> &) const
     {
       const double delta_temp = temperature-reference_T;
-      const double temperature_dependence = std::max(std::min(std::exp(-viscosity_exponent*delta_temp/reference_T),1e2),1e-2);
+      const double temperature_dependence = std::max(std::min(std::exp(-thermal_viscosity_exponent*delta_temp/reference_T),1e2),1e-2);
 
       return temperature_dependence * eta;
     }



More information about the CIG-COMMITS mailing list