[cig-commits] r21386 - short/3D/PyLith/trunk/libsrc/pylith/faults

knepley at geodynamics.org knepley at geodynamics.org
Mon Feb 25 11:37:24 PST 2013


Author: knepley
Date: 2013-02-25 11:37:23 -0800 (Mon, 25 Feb 2013)
New Revision: 21386

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesive.cc
Log:
Put in error message for UCD support

Modified: short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesive.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesive.cc	2013-02-25 04:20:58 UTC (rev 21385)
+++ short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesive.cc	2013-02-25 19:37:23 UTC (rev 21386)
@@ -138,22 +138,7 @@
     } else {
       const int faultDim = 2;
       assert(3 == mesh->dimension());
-      
-      //meshio::UCDFaultFile::read(_faultMeshFilename.c_str(), &faultMesh, faultBoundary, *mesh);
-      
-      // Set coordinates in fault mesh
-      const ALE::Obj<topology::SubMesh::SieveMesh>& faultSieveMesh = 
-	faultMesh.sieveMesh();
-      assert(!faultSieveMesh.isNull());
-      faultSieveMesh->setRealSection("coordinates", 
-				     sieveMesh->getRealSection("coordinates"));
-      
-      const ALE::Obj<topology::Mesh::IntSection>& groupField = 
-	sieveMesh->getIntSection(label());
-      assert(!groupField.isNull());
-      CohesiveTopology::create(mesh, faultMesh, faultBoundary, groupField, id(),
-			       *firstFaultVertex, *firstLagrangeVertex, *firstFaultCell, useLagrangeConstraints());
-      
+      throw std::runtime_error("UCD fault files no longer supported"); 
     } // if/else
   } catch (const ALE::Exception& err) {
     std::ostringstream msg;



More information about the CIG-COMMITS mailing list