[cig-commits] r15551 - short/3D/PyLith/trunk/libsrc/meshio

brad at geodynamics.org brad at geodynamics.org
Mon Aug 17 12:59:02 PDT 2009


Author: brad
Date: 2009-08-17 12:59:02 -0700 (Mon, 17 Aug 2009)
New Revision: 15551

Modified:
   short/3D/PyLith/trunk/libsrc/meshio/MeshBuilder.cc
Log:
Fixed a couple bugs associated with using fault meshes in parallel.

Modified: short/3D/PyLith/trunk/libsrc/meshio/MeshBuilder.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/meshio/MeshBuilder.cc	2009-08-17 18:53:29 UTC (rev 15550)
+++ short/3D/PyLith/trunk/libsrc/meshio/MeshBuilder.cc	2009-08-17 19:59:02 UTC (rev 15551)
@@ -252,6 +252,11 @@
     fault->stratify();
     logger.stagePop();
   } else {
+    Obj<ALE::Mesh> tmpMesh = 
+      new ALE::Mesh(fault->comm(), dim, fault->debug());
+    faultBd = ALE::Selection<ALE::Mesh>::boundary(tmpMesh);
+
+    logger.stagePop();
     logger.stagePush("FaultStratification");
     fault->getSieve()->setChart(SieveMesh::sieve_type::chart_type());
     fault->getSieve()->allocate();



More information about the CIG-COMMITS mailing list