[cig-commits] [commit] master: Bugfixes (816d08e)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu May 22 15:35:11 PDT 2014


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

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/4a5e27e5690a0e0c1e13e19100af7398e37f36b8...d31f4e9435a1c12781f5b673b672cbd29c41c2c2

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

commit 816d08eff61ce5f74a05decaa752027694c24c4b
Author: Siqi Zhang <siqi.zhang at mq.edu.au>
Date:   Tue May 20 16:27:40 2014 -0500

    Bugfixes


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

816d08eff61ce5f74a05decaa752027694c24c4b
 source/heating_model/radioactive_decay.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/heating_model/radioactive_decay.cc b/source/heating_model/radioactive_decay.cc
index 8182142..839d287 100644
--- a/source/heating_model/radioactive_decay.cc
+++ b/source/heating_model/radioactive_decay.cc
@@ -55,10 +55,10 @@ namespace aspect
                 if(crust_percent>1)crust_percent=1;
             }
             else
-                if((this->get_geometry_model).depth(position) < crust_depth)
+                if((this->get_geometry_model()).depth(position) < crust_depth)
                     crust_percent=1.;
                     
-            for(unsigned i_radio=0;i_radio<num_radio_heating_elements;i_radio++)
+            for(unsigned i_radio=0;i_radio<n_radio_heating_elements;i_radio++)
                 timedependent_radioactive_heating_rate+=
                     radioactive_heating_rate[i_radio]
                     *(radioactive_initial_consentration_mantle[i_radio]*(1-crust_percent)



More information about the CIG-COMMITS mailing list