[cig-commits] r20822 - short/3D/PyLith/branches/v1.7-trunk/libsrc/pylith/meshio
brad at geodynamics.org
brad at geodynamics.org
Thu Oct 11 11:57:24 PDT 2012
Author: brad
Date: 2012-10-11 11:57:24 -0700 (Thu, 11 Oct 2012)
New Revision: 20822
Modified:
short/3D/PyLith/branches/v1.7-trunk/libsrc/pylith/meshio/OutputSolnPoints.cc
Log:
Fixed bug in setting name of output field in OutputSolnPoints.
Modified: short/3D/PyLith/branches/v1.7-trunk/libsrc/pylith/meshio/OutputSolnPoints.cc
===================================================================
--- short/3D/PyLith/branches/v1.7-trunk/libsrc/pylith/meshio/OutputSolnPoints.cc 2012-10-11 18:29:55 UTC (rev 20821)
+++ short/3D/PyLith/branches/v1.7-trunk/libsrc/pylith/meshio/OutputSolnPoints.cc 2012-10-11 18:57:24 UTC (rev 20822)
@@ -257,12 +257,12 @@
_fields->get("buffer (interpolated)");
if (fieldInterp.section().isNull() || vertices->size()*fiberDim != fieldInterp.sectionSize()) {
fieldInterp.newSection(vertices, fiberDim);
- fieldInterp.label(field.label());
fieldInterp.allocate();
} // if
logger.stagePop();
fieldInterp.zero();
+ fieldInterp.label(field.label());
fieldInterp.vectorFieldType(field.vectorFieldType());
fieldInterp.scale(field.scale());
More information about the CIG-COMMITS
mailing list