[cig-commits] r14142 - short/3D/PyLith/branches/pylith-swig/libsrc/materials

brad at geodynamics.org brad at geodynamics.org
Tue Feb 24 21:21:45 PST 2009


Author: brad
Date: 2009-02-24 21:21:45 -0800 (Tue, 24 Feb 2009)
New Revision: 14142

Modified:
   short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticIsotropic3D.hh
   short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticPlaneStrain.hh
   short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticPlaneStress.hh
   short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticStrain1D.hh
   short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticStress1D.hh
Log:
Added documentation.

Modified: short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticIsotropic3D.hh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticIsotropic3D.hh	2009-02-25 02:00:24 UTC (rev 14141)
+++ short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticIsotropic3D.hh	2009-02-25 05:21:45 UTC (rev 14142)
@@ -20,6 +20,11 @@
  * internally using density, lambda, and mu, which are directly
  * related to the elasticity constants used in the finite-element
  * integration.
+ *
+ * $\sigma - \sigma_0 = C (\epsilon - \epsilon_0)
+ *
+ * This implies that when $\epsilon = \epsilon_0$, $\sigma =
+ * \sigma_0$.
  */
 
 #if !defined(pylith_materials_elasticisotropic3d_hh)

Modified: short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticPlaneStrain.hh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticPlaneStrain.hh	2009-02-25 02:00:24 UTC (rev 14141)
+++ short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticPlaneStrain.hh	2009-02-25 05:21:45 UTC (rev 14142)
@@ -20,6 +20,11 @@
  * internally using density, lambda, and mu, which are directly
  * related to the elasticity constants used in the finite-element
  * integration.
+ *
+ * $\sigma - \sigma_0 = C (\epsilon - \epsilon_0)
+ *
+ * This implies that when $\epsilon = \epsilon_0$, $\sigma =
+ * \sigma_0$.
  */
 
 #if !defined(pylith_materials_elasticplanestrain_hh)

Modified: short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticPlaneStress.hh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticPlaneStress.hh	2009-02-25 02:00:24 UTC (rev 14141)
+++ short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticPlaneStress.hh	2009-02-25 05:21:45 UTC (rev 14142)
@@ -20,6 +20,11 @@
  * internally using density, lambda, and mu, which are directly
  * related to the elasticity constants used in the finite-element
  * integration.
+ *
+ * $\sigma - \sigma_0 = C (\epsilon - \epsilon_0)
+ *
+ * This implies that when $\epsilon = \epsilon_0$, $\sigma =
+ * \sigma_0$.
  */
 
 #if !defined(pylith_materials_elasticplanestress_hh)

Modified: short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticStrain1D.hh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticStrain1D.hh	2009-02-25 02:00:24 UTC (rev 14141)
+++ short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticStrain1D.hh	2009-02-25 05:21:45 UTC (rev 14142)
@@ -19,6 +19,11 @@
  * speed. The physical properties are stored internally using density
  * and lambda + 2 mu, which are directly related to the elasticity
  * constants used in the finite-element integration.
+ *
+ * $\sigma - \sigma_0 = (\lambda + 2 \mu) (\epislon - \epsilon_0)$
+ *
+ * This implies that when $\epsilon = \epsilon_0$, $\sigma =
+ * \sigma_0$.
  */
 
 #if !defined(pylith_materials_elasticstrain1d_hh)

Modified: short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticStress1D.hh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticStress1D.hh	2009-02-25 02:00:24 UTC (rev 14141)
+++ short/3D/PyLith/branches/pylith-swig/libsrc/materials/ElasticStress1D.hh	2009-02-25 05:21:45 UTC (rev 14142)
@@ -20,6 +20,12 @@
  * internally using density, mu, and lambda, which are directly
  * related to the elasticity constants used in the finite-element
  * integration.
+ *
+ * $\sigma - \sigma_0 = 
+ *   \frac{\mu*(3+\lambda+2*\mu)}{\lambda+\mu} * (\epsilon - \epsilon_0)$
+ *
+ * This implies that when $\epsilon = \epsilon_0$, $\sigma =
+ * \sigma_0$.
  */
 
 #if !defined(pylith_materials_elasticstress1d_hh)



More information about the CIG-COMMITS mailing list