[cig-commits] [commit] master: Fix pressure bounds of steinberger material model. (681a7b7)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Jan 29 15:34:33 PST 2015


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/a0ff764d4a56253ce634eb4fe07261cd2cd8a9b5...44ed2e9846c19f03a8e1f451b1e0a40e3f97d3f1

>---------------------------------------------------------------

commit 681a7b71bf97c8f597a173bd0e6bd17b360cf1d2
Author: Rene Gassmoeller <R.Gassmoeller at mailbox.org>
Date:   Thu Jan 29 19:23:53 2015 +0100

    Fix pressure bounds of steinberger material model.


>---------------------------------------------------------------

681a7b71bf97c8f597a173bd0e6bd17b360cf1d2
 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 22e762b..1954a29 100644
--- a/source/material_model/steinberger.cc
+++ b/source/material_model/steinberger.cc
@@ -90,7 +90,7 @@ namespace aspect
 
 
             max_temp = min_temp + (numtemp-1) * delta_temp;
-            max_press = min_press + (numtemp-1) * delta_press;
+            max_press = min_press + (numpress-1) * delta_press;
 
             density_values.reinit(numtemp,numpress);
             thermal_expansivity_values.reinit(numtemp,numpress);



More information about the CIG-COMMITS mailing list