[cig-commits] r15069 - in short/3D/PyLith/trunk: examples/twocells/twohex8 examples/twocells/twoquad4 examples/twocells/twotet4 examples/twocells/twotet4-geoproj examples/twocells/twotri3 libsrc/materials

brad at geodynamics.org brad at geodynamics.org
Tue May 26 21:13:23 PDT 2009


Author: brad
Date: 2009-05-26 21:13:22 -0700 (Tue, 26 May 2009)
New Revision: 15069

Modified:
   short/3D/PyLith/trunk/examples/twocells/twohex8/pylithapp.cfg
   short/3D/PyLith/trunk/examples/twocells/twoquad4/pylithapp.cfg
   short/3D/PyLith/trunk/examples/twocells/twotet4-geoproj/pylithapp.cfg
   short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.cfg
   short/3D/PyLith/trunk/examples/twocells/twotri3/pylithapp.cfg
   short/3D/PyLith/trunk/libsrc/materials/EffectiveStress.cc
Log:
Updated length scales of some examples. Fixed compilation error.

Modified: short/3D/PyLith/trunk/examples/twocells/twohex8/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twohex8/pylithapp.cfg	2009-05-27 02:32:03 UTC (rev 15068)
+++ short/3D/PyLith/trunk/examples/twocells/twohex8/pylithapp.cfg	2009-05-27 04:13:22 UTC (rev 15069)
@@ -54,6 +54,7 @@
 # ----------------------------------------------------------------------
 [pylithapp.timedependent]
 dimension = 3
+normalizer.length_scale = 1.0*m
 
 [pylithapp.timedependent.formulation.time_step]
 total_time = 1.0*year

Modified: short/3D/PyLith/trunk/examples/twocells/twoquad4/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/pylithapp.cfg	2009-05-27 02:32:03 UTC (rev 15068)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/pylithapp.cfg	2009-05-27 04:13:22 UTC (rev 15069)
@@ -54,6 +54,7 @@
 # implicit time step from t = -1.0 to t = 0.0 (elastic solution step).
 [pylithapp.timedependent]
 dimension = 2
+normalizer.length_scale = 1.0*m
 
 [pylithapp.timedependent.formulation.time_step]
 total_time = 0.0*s

Modified: short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.cfg	2009-05-27 02:32:03 UTC (rev 15068)
+++ short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.cfg	2009-05-27 04:13:22 UTC (rev 15069)
@@ -56,6 +56,7 @@
 # implicit time step from t = -1.0 to t = 0.0 (elastic solution step).
 [pylithapp.timedependent]
 dimension = 3
+normalizer.length_scale = 1.0*m
 
 [pylithapp.timedependent.formulation.time_step]
 total_time = 0.0*s

Modified: short/3D/PyLith/trunk/examples/twocells/twotet4-geoproj/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotet4-geoproj/pylithapp.cfg	2009-05-27 02:32:03 UTC (rev 15068)
+++ short/3D/PyLith/trunk/examples/twocells/twotet4-geoproj/pylithapp.cfg	2009-05-27 04:13:22 UTC (rev 15069)
@@ -61,6 +61,7 @@
 # implicit time step from t = -1.0 to t = 0.0 (elastic solution step).
 [pylithapp.timedependent]
 dimension = 3
+normalizer.length_scale = 1.0*m
 
 [pylithapp.timedependent.formulation.time_step]
 total_time = 0.0*s

Modified: short/3D/PyLith/trunk/examples/twocells/twotri3/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotri3/pylithapp.cfg	2009-05-27 02:32:03 UTC (rev 15068)
+++ short/3D/PyLith/trunk/examples/twocells/twotri3/pylithapp.cfg	2009-05-27 04:13:22 UTC (rev 15069)
@@ -54,6 +54,7 @@
 # implicit time step from t = -1.0 to t = 0.0 (elastic solution step).
 [pylithapp.timedependent]
 dimension = 2
+normalizer.length_scale = 1.0*m
 
 [pylithapp.timedependent.formulation.time_step]
 total_time = 0.0*s

Modified: short/3D/PyLith/trunk/libsrc/materials/EffectiveStress.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/materials/EffectiveStress.cc	2009-05-27 02:32:03 UTC (rev 15068)
+++ short/3D/PyLith/trunk/libsrc/materials/EffectiveStress.cc	2009-05-27 04:13:22 UTC (rev 15069)
@@ -17,6 +17,7 @@
 #include "petsc.h" // USES PetscLogFlops
 
 #include <cmath> // USES fabs()
+#include <cassert> // USES assert()
 #include <stdexcept> // USES std::runtime_error
 
 // ----------------------------------------------------------------------



More information about the CIG-COMMITS mailing list