[cig-commits] r15252 - in short/3D/PyLith/trunk: libsrc/bc pylith/bc

brad at geodynamics.org brad at geodynamics.org
Sun Jun 14 21:37:36 PDT 2009


Author: brad
Date: 2009-06-14 21:37:36 -0700 (Sun, 14 Jun 2009)
New Revision: 15252

Modified:
   short/3D/PyLith/trunk/libsrc/bc/DirichletBoundary.cc
   short/3D/PyLith/trunk/pylith/bc/DirichletBoundary.py
Log:
Updated name of output field.

Modified: short/3D/PyLith/trunk/libsrc/bc/DirichletBoundary.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/bc/DirichletBoundary.cc	2009-06-15 04:36:40 UTC (rev 15251)
+++ short/3D/PyLith/trunk/libsrc/bc/DirichletBoundary.cc	2009-06-15 04:37:36 UTC (rev 15252)
@@ -75,10 +75,10 @@
   const double timeScale = _normalizer->timeScale();
   const double rateScale = lengthScale / timeScale;
 
-  if (0 == strcasecmp(name, "initial"))
+  if (0 == strcasecmp(name, "initial-value"))
     return _bufferVector("initial", "initial_displacement", lengthScale);
   else if (0 == strcasecmp(name, "rate-of-change"))
-    return _bufferVector("rate", "initial_velocity", rateScale);
+    return _bufferVector("rate", "velocity", rateScale);
   else if (0 == strcasecmp(name, "change-in-value"))
     return _bufferVector("change", "displacement_change", lengthScale);
   else if (0 == strcasecmp(name, "rate-start-time"))

Modified: short/3D/PyLith/trunk/pylith/bc/DirichletBoundary.py
===================================================================
--- short/3D/PyLith/trunk/pylith/bc/DirichletBoundary.py	2009-06-15 04:36:40 UTC (rev 15251)
+++ short/3D/PyLith/trunk/pylith/bc/DirichletBoundary.py	2009-06-15 04:37:36 UTC (rev 15252)
@@ -63,7 +63,7 @@
     self._loggingPrefix = "DiBC "
     self.availableFields = \
         {'vertex': \
-           {'info': ["initial", 
+           {'info': ["initial-value", 
                      "rate-of-change", 
                      "change-in-value", 
                      "rate-start-time", 



More information about the CIG-COMMITS mailing list