[cig-commits] r17168 - short/3D/PyLith/branches/v1.5-stable/libsrc/faults

brad at geodynamics.org brad at geodynamics.org
Thu Sep 2 17:31:49 PDT 2010


Author: brad
Date: 2010-09-02 17:31:48 -0700 (Thu, 02 Sep 2010)
New Revision: 17168

Modified:
   short/3D/PyLith/branches/v1.5-stable/libsrc/faults/TopologyOps.cc
Log:
Added creating face info for tri/tet.

Modified: short/3D/PyLith/branches/v1.5-stable/libsrc/faults/TopologyOps.cc
===================================================================
--- short/3D/PyLith/branches/v1.5-stable/libsrc/faults/TopologyOps.cc	2010-09-03 00:24:07 UTC (rev 17167)
+++ short/3D/PyLith/branches/v1.5-stable/libsrc/faults/TopologyOps.cc	2010-09-03 00:31:48 UTC (rev 17168)
@@ -242,6 +242,13 @@
             ALE::SieveBuilder<ALE::Mesh>::buildQuadraticHexFaces(
 		     faultSieve, orientation, dim, curElement, 
 		     bdVertices, oFaultFaces, f, o);
+          } else if ((1 == dim && 3 == faceSize) ||
+		     (2 == dim && 6 == faceSize)){
+            if (debug) std::cout << "  Adding quadratic tri face " << f
+				 << std::endl;
+            ALE::SieveBuilder<ALE::Mesh>::buildQuadraticTetFaces(
+		     faultSieve, orientation, dim, curElement, 
+		     bdVertices, oFaultFaces, f, o);
           } else {
             if (debug) std::cout << "  Adding simplicial face " << f << std::endl;
             ALE::SieveBuilder<ALE::Mesh>::buildFaces(



More information about the CIG-COMMITS mailing list