[cig-commits] [commit] master: The heating rate should be a scalar function. (621331a)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Aug 4 03:17:24 PDT 2014


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

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/e9db016d5017ab6bacf537f5824c5b1b609de881...cf143473b5c2b534ac8c3bfde3cad6477de32b26

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

commit 621331a7a193f410a1c58de8d68f793b31ee17aa
Author: Wolfgang Bangerth <bangerth at math.tamu.edu>
Date:   Sat Aug 2 02:55:42 2014 -0500

    The heating rate should be a scalar function.


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

621331a7a193f410a1c58de8d68f793b31ee17aa
 source/heating_model/function.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/heating_model/function.cc b/source/heating_model/function.cc
index 4f097e2..88e3b67 100644
--- a/source/heating_model/function.cc
+++ b/source/heating_model/function.cc
@@ -68,7 +68,7 @@ namespace aspect
       {
         prm.enter_subsection("Function");
         {
-          Functions::ParsedFunction<dim>::declare_parameters (prm, dim);
+          Functions::ParsedFunction<dim>::declare_parameters (prm, 1);
         }
         prm.leave_subsection();
       }



More information about the CIG-COMMITS mailing list