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

brad at geodynamics.org brad at geodynamics.org
Sun Aug 16 15:23:38 PDT 2009


Author: brad
Date: 2009-08-16 15:23:38 -0700 (Sun, 16 Aug 2009)
New Revision: 15546

Modified:
   short/3D/PyLith/trunk/libsrc/faults/FaultCohesive.cc
Log:
Removed incorrect check for group of vertices. Want to create group if it doesn't exist in the case of a fault mesh.

Modified: short/3D/PyLith/trunk/libsrc/faults/FaultCohesive.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/FaultCohesive.cc	2009-08-16 10:59:55 UTC (rev 15545)
+++ short/3D/PyLith/trunk/libsrc/faults/FaultCohesive.cc	2009-08-16 22:23:38 UTC (rev 15546)
@@ -140,12 +140,6 @@
     faultSieveMesh->setRealSection("coordinates", 
 				   sieveMesh->getRealSection("coordinates"));
 
-    if (!sieveMesh->hasIntSection(label())) {
-      std::ostringstream msg;
-      msg << "Mesh missing group of vertices '" << label()
-          << "' for fault interface condition.";
-      throw std::runtime_error(msg.str());
-    } // if  
     const ALE::Obj<topology::Mesh::IntSection>& groupField = 
       sieveMesh->getIntSection(label());
     assert(!groupField.isNull());



More information about the CIG-COMMITS mailing list