[cig-commits] [commit] knepley/upgrade-petsc-interface: HDF5: Must use local IS size when accessing indices (f00b38b)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Jan 28 12:15:09 PST 2014
Repository : ssh://geoshell/pylith
On branch : knepley/upgrade-petsc-interface
Link : https://github.com/geodynamics/pylith/compare/42938724de3c1f315560183498657d56cbb73705...f00b38b8aeed9f331d613a7e8bf2c0722993728e
>---------------------------------------------------------------
commit f00b38b8aeed9f331d613a7e8bf2c0722993728e
Author: Matthew G. Knepley <knepley at gmail.com>
Date: Tue Jan 28 14:15:02 2014 -0600
HDF5: Must use local IS size when accessing indices
>---------------------------------------------------------------
f00b38b8aeed9f331d613a7e8bf2c0722993728e
libsrc/pylith/meshio/DataWriterHDF5Ext.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libsrc/pylith/meshio/DataWriterHDF5Ext.cc b/libsrc/pylith/meshio/DataWriterHDF5Ext.cc
index e5ad40b..577d74e 100644
--- a/libsrc/pylith/meshio/DataWriterHDF5Ext.cc
+++ b/libsrc/pylith/meshio/DataWriterHDF5Ext.cc
@@ -386,7 +386,7 @@ pylith::meshio::DataWriterHDF5Ext::writeVertexField(const PylithScalar t,
err = DMPlexGetDepthStratum(dmMesh, 0, &vStart, PETSC_NULL);PYLITH_CHECK_ERROR(err);
err = DMPlexGetVertexNumbering(dmMesh, &globalVertexNumbers);PYLITH_CHECK_ERROR(err);
- err = ISGetSize(globalVertexNumbers, &n);PYLITH_CHECK_ERROR(err);
+ err = ISGetLocalSize(globalVertexNumbers, &n);PYLITH_CHECK_ERROR(err);
if (n > 0) {
const PetscInt *indices = NULL;
err = ISGetIndices(globalVertexNumbers, &indices);PYLITH_CHECK_ERROR(err);
More information about the CIG-COMMITS
mailing list