[cig-commits] commit 2499 by heister to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Sun Apr 13 07:14:56 PDT 2014


Revision 2499

fix prm documentation formatting

U   trunk/aspect/source/gravity_model/radial.cc


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

Diff:
Modified: trunk/aspect/source/gravity_model/radial.cc
===================================================================
--- trunk/aspect/source/gravity_model/radial.cc	2014-04-13 12:39:00 UTC (rev 2498)
+++ trunk/aspect/source/gravity_model/radial.cc	2014-04-13 14:14:53 UTC (rev 2499)
@@ -88,7 +88,7 @@
     Tensor<1,dim>
     RadialLinear<dim>::gravity_vector (const Point<dim> &p) const
     {
-      if(p.norm() == 0.0) return Tensor<1,dim>();
+      if (p.norm() == 0.0) return Tensor<1,dim>();
 
       double depth = this->get_geometry_model().depth(p);
       Tensor<1,dim> grav =  -magnitude_at_surface * p/p.norm() *
@@ -106,8 +106,8 @@
         {
           prm.declare_entry ("Magnitude at surface", "9.8",
                              Patterns::Double (0),
-                             "Magnitude of the radial gravity vector"
-                             "at the surface of the domain, m/s^2");
+                             "Magnitude of the radial gravity vector "
+                             "at the surface of the domain, $m/s^2$");
         }
         prm.leave_subsection ();
       }


More information about the CIG-COMMITS mailing list