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

brad at geodynamics.org brad at geodynamics.org
Sun Oct 19 15:20:19 PDT 2008


Author: brad
Date: 2008-10-19 15:20:19 -0700 (Sun, 19 Oct 2008)
New Revision: 13102

Modified:
   short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc
   short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src
Log:
Reverted to using ALE::Distribution<pylith::Mesh>::completeSection() since ALE::Completion::completeSectionAdd() still has bug.

Modified: short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc	2008-10-19 22:16:33 UTC (rev 13101)
+++ short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc	2008-10-19 22:20:19 UTC (rev 13102)
@@ -627,7 +627,11 @@
   _orientation->setDebug(2);
 #endif
   // Assemble orientation information
+#if 0
   ALE::Completion::completeSectionAdd(_faultMesh->getSendOverlap(), _faultMesh->getRecvOverlap(), _orientation, _orientation);
+#else
+  ALE::Distribution<pylith::Mesh>::completeSection(_faultMesh, _orientation);
+#endif
 
 #if 0
   _orientation->view("ORIENTATION After complete");
@@ -838,7 +842,11 @@
 #endif
 
   // Assemble area information
+#if 0
   ALE::Completion::completeSectionAdd(_faultMesh->getSendOverlap(), _faultMesh->getRecvOverlap(), _area, _area);
+#else
+  ALE::Distribution<pylith::Mesh>::completeSection(_faultMesh, _area);
+#endif
 
 #if 0
   _area->view("AREA");

Modified: short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src
===================================================================
--- short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src	2008-10-19 22:16:33 UTC (rev 13101)
+++ short/3D/PyLith/trunk/modulesrc/topology/topology.pyxe.src	2008-10-19 22:20:19 UTC (rev 13102)
@@ -1155,7 +1155,11 @@
       (ALE::Obj<pylith::Mesh>*) meshVptr;
     ALE::Obj<pylith::real_section_type>* section =
       (ALE::Obj<pylith::real_section_type>*) sectionVptr;
+#if 0
     ALE::Completion::completeSectionAdd((*mesh)->getSendOverlap(), (*mesh)->getRecvOverlap(), *section, *section);
+#else
+    ALE::Distribution<pylith::Mesh>::completeSection(*mesh, *section);
+#endif
   } catch (const std::exception& err) {
     PyErr_SetString(PyExc_RuntimeError,
                     const_cast<char*>(err.what()));



More information about the CIG-COMMITS mailing list