[cig-commits] r13099 - in short/3D/PyLith/trunk: libsrc/faults modulesrc/topology

brad at geodynamics.org brad at geodynamics.org
Fri Oct 17 12:47:19 PDT 2008


Author: brad
Date: 2008-10-17 12:47:19 -0700 (Fri, 17 Oct 2008)
New Revision: 13099

Modified:
   short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc
   short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src
Log:
Switch from using ALE::Distribution<pylith::Mesh>::completeSection() to up-to-date ALE::Completion::completeSectionAdd().

Modified: short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc	2008-10-16 23:17:31 UTC (rev 13098)
+++ short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc	2008-10-17 19:47:19 UTC (rev 13099)
@@ -26,7 +26,7 @@
 #include "spatialdata/geocoords/CoordSys.hh" // USES CoordSys
 #include "spatialdata/spatialdb/SpatialDB.hh" // USES CoordSys
 
-#include <Distribution.hh> // USES completeSection
+#include <Completion.hh> // USES completeSection
 #include <Selection.hh> // Algorithms for submeshes
 
 #include <math.h> // USES pow(), sqrt()

Modified: short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src
===================================================================
--- short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src	2008-10-16 23:17:31 UTC (rev 13098)
+++ short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src	2008-10-17 19:47:19 UTC (rev 13099)
@@ -1155,7 +1155,7 @@
       (ALE::Obj<pylith::Mesh>*) meshVptr;
     ALE::Obj<pylith::real_section_type>* section =
       (ALE::Obj<pylith::real_section_type>*) sectionVptr;
-    ALE::Distribution<pylith::Mesh>::completeSection(*mesh, *section);
+    ALE::Completion::completeSectionAdd((*mesh)->getSendOverlap(), (*mesh)->getRecvOverlap(), *section, *section);
   } catch (const std::exception& err) {
     PyErr_SetString(PyExc_RuntimeError,
                     const_cast<char*>(err.what()));



More information about the CIG-COMMITS mailing list