[cig-commits] r15317 - short/3D/PyLith/trunk/libsrc/materials
brad at geodynamics.org
brad at geodynamics.org
Wed Jun 17 10:54:46 PDT 2009
Author: brad
Date: 2009-06-17 10:54:46 -0700 (Wed, 17 Jun 2009)
New Revision: 15317
Modified:
short/3D/PyLith/trunk/libsrc/materials/ElasticMaterial.cc
Log:
Fixed bug in setting length scale for initial stress and strain queries.
Modified: short/3D/PyLith/trunk/libsrc/materials/ElasticMaterial.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/materials/ElasticMaterial.cc 2009-06-17 16:18:13 UTC (rev 15316)
+++ short/3D/PyLith/trunk/libsrc/materials/ElasticMaterial.cc 2009-06-17 17:54:46 UTC (rev 15317)
@@ -440,7 +440,7 @@
} // switch
assert(0 != _normalizer);
- const double lengthScale = _normalizer->pressureScale();
+ const double lengthScale = _normalizer->lengthScale();
const double pressureScale = _normalizer->pressureScale();
for (SieveMesh::label_sequence::iterator c_iter=cellsBegin;
@@ -584,7 +584,7 @@
} // switch
assert(0 != _normalizer);
- const double lengthScale = _normalizer->pressureScale();
+ const double lengthScale = _normalizer->lengthScale();
const double pressureScale = _normalizer->pressureScale();
for (SieveMesh::label_sequence::iterator c_iter=cellsBegin;
More information about the CIG-COMMITS
mailing list