[cig-commits] [commit] master: Bugfix. (5d4ceb1)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Fri Jun 20 00:23:17 PDT 2014
Repository : https://github.com/geodynamics/aspect
On branch : master
Link : https://github.com/geodynamics/aspect/compare/9398730971b5217314dc121bc16852d75951d0b4...646b028803359614a76a003795e6d97f0a5a0603
>---------------------------------------------------------------
commit 5d4ceb1cf2885bfb90c719ddf3ef5aa9094f1dac
Author: Rene Gassmoeller <R.Gassmoeller at mailbox.org>
Date: Thu Jun 19 18:42:37 2014 +0200
Bugfix.
>---------------------------------------------------------------
5d4ceb1cf2885bfb90c719ddf3ef5aa9094f1dac
source/material_model/steinberger.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/material_model/steinberger.cc b/source/material_model/steinberger.cc
index a0fda3c..41a18ca 100644
--- a/source/material_model/steinberger.cc
+++ b/source/material_model/steinberger.cc
@@ -458,7 +458,7 @@ namespace aspect
delta_temperature = temperature-avg_temp[idx];
}
else
- const double delta_temperature = temperature-adiabatic_temperature;
+ delta_temperature = temperature-adiabatic_temperature;
// For an explanation on this formula see the Steinberger & Calderwood 2006 paper
const double vis_lateral_exp = -1.0*lateral_viscosity_lookup->lateral_viscosity(depth)*delta_temperature/(temperature*adiabatic_temperature);
More information about the CIG-COMMITS
mailing list