[cig-commits] [commit] knepley/upgrade-petsc-interface: Fix parallel bug in DataWriterHDF5Ext (ISGetSize -> ISGetLocalSize). (881bf58)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Jan 28 15:58:16 PST 2014
Repository : ssh://geoshell/pylith
On branch : knepley/upgrade-petsc-interface
Link : https://github.com/geodynamics/pylith/compare/f00b38b8aeed9f331d613a7e8bf2c0722993728e...6557fff63eeb098d4f3fc943137ab18eed873723
>---------------------------------------------------------------
commit 881bf58728588dd2ba08aa58abc10cbcd2620be6
Author: Brad Aagaard <baagaard at usgs.gov>
Date: Tue Jan 28 15:57:37 2014 -0800
Fix parallel bug in DataWriterHDF5Ext (ISGetSize -> ISGetLocalSize).
>---------------------------------------------------------------
881bf58728588dd2ba08aa58abc10cbcd2620be6
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