[cig-commits] r22762 - short/3D/PyLith/trunk/libsrc/pylith/topology

knepley at geodynamics.org knepley at geodynamics.org
Tue Sep 3 13:19:47 PDT 2013


Author: knepley
Date: 2013-09-03 13:19:47 -0700 (Tue, 03 Sep 2013)
New Revision: 22762

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc
Log:
DMPlexClone() --> DMClone()

Modified: short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc	2013-09-03 19:58:10 UTC (rev 22761)
+++ short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc	2013-09-03 20:19:47 UTC (rev 22762)
@@ -51,7 +51,7 @@
     PetscErrorCode err;
 
     err = DMDestroy(&_dm);PYLITH_CHECK_ERROR(err);
-    err = DMPlexClone(dm, &_dm);PYLITH_CHECK_ERROR(err);
+    err = DMClone(dm, &_dm);PYLITH_CHECK_ERROR(err);
     err = DMGetCoordinatesLocal(dm, &coordVec);PYLITH_CHECK_ERROR(err);
     if (coordVec) {
       PetscDM coordDM=NULL, newCoordDM=NULL;
@@ -957,7 +957,7 @@
   PetscSF sf = NULL;
 
   err = DMDestroy(&sinfo.dm);PYLITH_CHECK_ERROR(err);
-  err = DMPlexClone(_dm, &sinfo.dm);PYLITH_CHECK_ERROR(err);
+  err = DMClone(_dm, &sinfo.dm);PYLITH_CHECK_ERROR(err);
   err = DMGetDefaultSection(_dm, &section);PYLITH_CHECK_ERROR(err);
   err = PetscSectionClone(section, &newSection);PYLITH_CHECK_ERROR(err);
   err = DMSetDefaultSection(sinfo.dm, newSection);PYLITH_CHECK_ERROR(err);
@@ -1056,7 +1056,7 @@
   } // if
 
   err = DMDestroy(&sinfo.dm);PYLITH_CHECK_ERROR(err);
-  err = DMPlexClone(_dm, &sinfo.dm);PYLITH_CHECK_ERROR(err);
+  err = DMClone(_dm, &sinfo.dm);PYLITH_CHECK_ERROR(err);
   err = PetscSectionClone(section, &newSection);PYLITH_CHECK_ERROR(err);
   err = DMSetDefaultSection(sinfo.dm, newSection);PYLITH_CHECK_ERROR(err);
   err = PetscSectionDestroy(&newSection);PYLITH_CHECK_ERROR(err);



More information about the CIG-COMMITS mailing list