[cig-commits] commit 2376 by bangerth to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Sat Mar 29 04:40:00 PDT 2014


Revision 2376

Change the default for the gravity value in the 'radial constant' model from the nonsensical 30 m/s^2 to the more useful 9.81 m/s^2.

U   trunk/aspect/doc/modules/changes.h
U   trunk/aspect/source/gravity_model/radial.cc


http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=2376&peg=2376

Diff:
Modified: trunk/aspect/doc/modules/changes.h
===================================================================
--- trunk/aspect/doc/modules/changes.h	2014-03-28 23:16:50 UTC (rev 2375)
+++ trunk/aspect/doc/modules/changes.h	2014-03-29 11:39:57 UTC (rev 2376)
@@ -8,6 +8,13 @@
 </p>
 
 <ol>
+  <li>Changed: The 'radial constant' gravity model had a default of
+  $30 m/s^2$ for the magnitude of the gravity. This value makes no
+  sense. It has therefore been changed to the value we have at
+  Earth's surface: $9.81 m/s^2$.
+  <br>
+  (Wolfgang Bangerth, 2014/03/29)
+
   <li>Fixed: Correct computation of min/max composition statistics.
   <br>
   (Timo Heister, 2014/03/26)

Modified: trunk/aspect/source/gravity_model/radial.cc
===================================================================
--- trunk/aspect/source/gravity_model/radial.cc	2014-03-28 23:16:50 UTC (rev 2375)
+++ trunk/aspect/source/gravity_model/radial.cc	2014-03-29 11:39:57 UTC (rev 2376)
@@ -47,10 +47,10 @@
       {
         prm.enter_subsection("Radial constant");
         {
-          prm.declare_entry ("Magnitude", "30",
+          prm.declare_entry ("Magnitude", "9.81",
                              Patterns::Double (0),
                              "Magnitude of the gravity vector in $m/s^2$. The direction is "
-                             "always radially outward from the center of the earth.");
+                             "always radially inward towards the center of the earth.");
         }
         prm.leave_subsection ();
       }


More information about the CIG-COMMITS mailing list