[cig-commits] r22067 - short/3D/PyLith/trunk/libsrc/pylith/topology
brad at geodynamics.org
brad at geodynamics.org
Tue May 14 16:49:35 PDT 2013
Author: brad
Date: 2013-05-14 16:49:35 -0700 (Tue, 14 May 2013)
New Revision: 22067
Modified:
short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc
Log:
cleanup
Modified: short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc 2013-05-14 22:50:37 UTC (rev 22066)
+++ short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc 2013-05-14 23:49:35 UTC (rev 22067)
@@ -160,8 +160,12 @@
PetscErrorCode err;
_metadata["default"].label = value;
- if (_localVec) {err = PetscObjectSetName((PetscObject) _localVec, value);PYLITH_CHECK_ERROR(err);}
- if (_globalVec) {err = PetscObjectSetName((PetscObject) _globalVec, value);PYLITH_CHECK_ERROR(err);}
+ if (_localVec) {
+ err = PetscObjectSetName((PetscObject) _localVec, value);PYLITH_CHECK_ERROR(err);
+ } // if
+ if (_globalVec) {
+ err = PetscObjectSetName((PetscObject) _globalVec, value);PYLITH_CHECK_ERROR(err);
+ } // if
const scatter_map_type::const_iterator scattersEnd = _scatters.end();
for (scatter_map_type::const_iterator s_iter=_scatters.begin();
More information about the CIG-COMMITS
mailing list