[cig-commits] r21334 - short/3D/PyLith/trunk/libsrc/pylith/meshio

knepley at geodynamics.org knepley at geodynamics.org
Tue Feb 5 05:15:19 PST 2013


Author: knepley
Date: 2013-02-05 05:15:19 -0800 (Tue, 05 Feb 2013)
New Revision: 21334

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/meshio/DataWriterHDF5.cc
Log:
Removed check on TENSOR block structure

Modified: short/3D/PyLith/trunk/libsrc/pylith/meshio/DataWriterHDF5.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/meshio/DataWriterHDF5.cc	2013-02-05 02:43:02 UTC (rev 21333)
+++ short/3D/PyLith/trunk/libsrc/pylith/meshio/DataWriterHDF5.cc	2013-02-05 13:15:19 UTC (rev 21334)
@@ -419,8 +419,8 @@
     switch (field.vectorFieldType()) {
     case pylith::topology::FieldBase::VECTOR:
       if (bs%spaceDim) CHECK_PETSC_ERROR(PETSC_ERR_ARG_WRONG); break;
-    case pylith::topology::FieldBase::TENSOR:
-      if (bs%spaceDim) CHECK_PETSC_ERROR(PETSC_ERR_ARG_WRONG); break;
+      //case pylith::topology::FieldBase::TENSOR:
+      //if (bs%spaceDim) CHECK_PETSC_ERROR(PETSC_ERR_ARG_WRONG); break;
       //default:
       //if (bs > 1) CHECK_PETSC_ERROR(PETSC_ERR_ARG_WRONG); break;
     }



More information about the CIG-COMMITS mailing list