[cig-commits] r1344 - trunk/aspect/source/geometry_model

heister at dealii.org heister at dealii.org
Mon Nov 5 17:22:38 PST 2012


Author: heister
Date: 2012-11-05 18:22:38 -0700 (Mon, 05 Nov 2012)
New Revision: 1344

Modified:
   trunk/aspect/source/geometry_model/box.cc
Log:
fix bug in geometry_model/box: length_scale needs to take the size of the box into account

Modified: trunk/aspect/source/geometry_model/box.cc
===================================================================
--- trunk/aspect/source/geometry_model/box.cc	2012-11-05 03:22:25 UTC (rev 1343)
+++ trunk/aspect/source/geometry_model/box.cc	2012-11-06 01:22:38 UTC (rev 1344)
@@ -70,7 +70,7 @@
     Box<dim>::
     length_scale () const
     {
-      return 0.01;
+      return 0.01*extents[0];
     }
 
 



More information about the CIG-COMMITS mailing list