[cig-commits] r11641 - short/3D/PyLith/trunk/libsrc/feassemble

brad at geodynamics.org brad at geodynamics.org
Sun Mar 30 12:50:42 PDT 2008


Author: brad
Date: 2008-03-30 12:50:42 -0700 (Sun, 30 Mar 2008)
New Revision: 11641

Modified:
   short/3D/PyLith/trunk/libsrc/feassemble/IntegratorElasticity.cc
Log:
Fixed bug associated with using wrong buffer for state variables for output.

Modified: short/3D/PyLith/trunk/libsrc/feassemble/IntegratorElasticity.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/feassemble/IntegratorElasticity.cc	2008-03-30 19:35:35 UTC (rev 11640)
+++ short/3D/PyLith/trunk/libsrc/feassemble/IntegratorElasticity.cc	2008-03-30 19:50:42 UTC (rev 11641)
@@ -235,7 +235,7 @@
   } else if (0 == strcasecmp(name, "stress")) {
     _material->propertyField(&_bufferCellOther,
 			     "total-strain", mesh, numQuadPts);
-    _calcStressFromStrain(&_bufferCellTensor, mesh);
+    _calcStressFromStrain(&_bufferCellOther, mesh);
     return _bufferCellOther;
 
   } else {



More information about the cig-commits mailing list