[cig-commits] [commit] knepley/upgrade-petsc-interface: Topology: Updated to new DMPlexDistribute() interface (f1007d5)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Oct 10 09:53:38 PDT 2013


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/0000000000000000000000000000000000000000...6b5ddb40724b13328c73e9702f6f00ca998a90ed

>---------------------------------------------------------------

commit f1007d57c8a43410c22aa592027e8e0e9bceaae0
Author: Matthew G. Knepley <knepley at gmail.com>
Date:   Thu Oct 10 11:54:35 2013 -0500

    Topology: Updated to new DMPlexDistribute() interface


>---------------------------------------------------------------

f1007d57c8a43410c22aa592027e8e0e9bceaae0
 libsrc/pylith/topology/Distributor.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libsrc/pylith/topology/Distributor.cc b/libsrc/pylith/topology/Distributor.cc
index 2df099b..44dcb09 100644
--- a/libsrc/pylith/topology/Distributor.cc
+++ b/libsrc/pylith/topology/Distributor.cc
@@ -60,7 +60,7 @@ pylith::topology::Distributor::distribute(topology::Mesh* const newMesh,
   journal::info_t info("distributor");
 
   PetscDM newDM = NULL;
-  PetscErrorCode err = DMPlexDistribute(origMesh.dmMesh(), partitioner, 0, &newDM);PYLITH_CHECK_ERROR(err);
+  PetscErrorCode err = DMPlexDistribute(origMesh.dmMesh(), partitioner, 0, NULL, &newDM);PYLITH_CHECK_ERROR(err);
   newMesh->dmMesh(newDM);
 
   PYLITH_METHOD_END;



More information about the CIG-COMMITS mailing list