[cig-commits] r9239 - short/3D/PyLith/trunk/pylith/meshio
brad at geodynamics.org
brad at geodynamics.org
Tue Feb 5 13:21:36 PST 2008
Author: brad
Date: 2008-02-05 13:21:36 -0800 (Tue, 05 Feb 2008)
New Revision: 9239
Modified:
short/3D/PyLith/trunk/pylith/meshio/OutputManager.py
Log:
Made error message more informative. Temporarily disabled output of cell field information.
Modified: short/3D/PyLith/trunk/pylith/meshio/OutputManager.py
===================================================================
--- short/3D/PyLith/trunk/pylith/meshio/OutputManager.py 2008-02-05 21:14:13 UTC (rev 9238)
+++ short/3D/PyLith/trunk/pylith/meshio/OutputManager.py 2008-02-05 21:21:36 UTC (rev 9239)
@@ -207,10 +207,10 @@
self.cppHandle.appendVertexField(t.value, name, field, fieldType,
mesh.cppHandle)
- for name in self.cellInfoFields:
- (field, fieldType) = self.dataProvider.getCellField(name)
- self.cppHandle.appendCellField(t.value, name, field, fieldType,
- mesh.cppHandle)
+ #for name in self.cellInfoFields:
+ # (field, fieldType) = self.dataProvider.getCellField(name)
+ # self.cppHandle.appendCellField(t.value, name, field, fieldType,
+ # mesh.cppHandle)
self.cppHandle.closeTimeStep()
self.close()
@@ -327,8 +327,10 @@
if len(notavailable) > 0:
msg = \
"Requested fields not available for output.\n" \
+ "Data provider: '%s'\n" \
"Field type: '%s'\n" \
- "Data type: '%s'\n" % (fieldCategory, dataCategory)
+ "Data type: '%s'\n" % (self.dataProvider.name,
+ fieldCategory, dataCategory)
msg += "Available fields: "
for name in available[fieldCategory][dataCategory]:
msg += " '%s'" % name
More information about the cig-commits
mailing list