[cig-commits] [commit] knepley/fix-faults-parallel: Remove some obsolete (not used) code. (9da3efc)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed May 7 11:51:57 PDT 2014


Repository : https://github.com/geodynamics/pylith

On branch  : knepley/fix-faults-parallel
Link       : https://github.com/geodynamics/pylith/compare/df865220b80a43ba208f3cef3f0f16004191dad3...b9115fef9bddb6603ac8577e88470665f74d470c

>---------------------------------------------------------------

commit 9da3efc9f9ff98b4de32a36fb5edaa04e36c9a92
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Tue May 6 11:14:23 2014 -0700

    Remove some obsolete (not used) code.


>---------------------------------------------------------------

9da3efc9f9ff98b4de32a36fb5edaa04e36c9a92
 libsrc/pylith/faults/FaultCohesiveLagrange.cc | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libsrc/pylith/faults/FaultCohesiveLagrange.cc b/libsrc/pylith/faults/FaultCohesiveLagrange.cc
index ddd0fb9..1bd2449 100644
--- a/libsrc/pylith/faults/FaultCohesiveLagrange.cc
+++ b/libsrc/pylith/faults/FaultCohesiveLagrange.cc
@@ -1398,9 +1398,6 @@ pylith::faults::FaultCohesiveLagrange::_calcOrientation(const PylithScalar upDir
   const PetscInt cStart = cellsStratum.begin();
   const PetscInt cEnd = cellsStratum.end();
 
-  PetscDMLabel clamped = NULL;
-  PetscErrorCode err = DMPlexGetLabel(faultDMMesh, "clamped", &clamped);PYLITH_CHECK_ERROR(err);
-
   // Containers for orientation information.
   // Allocate orientation field.
   scalar_array orientationVertex(orientationSize);
@@ -1444,7 +1441,7 @@ pylith::faults::FaultCohesiveLagrange::_calcOrientation(const PylithScalar upDir
       // Get orientations at fault cell's vertices.
       coordsVisitor.getClosure(&coordsCell, cell);
       
-      err = DMPlexGetTransitiveClosure(faultDMMesh, cell, PETSC_TRUE, &closureSize, &closure);PYLITH_CHECK_ERROR(err);
+      PetscErrorCode err = DMPlexGetTransitiveClosure(faultDMMesh, cell, PETSC_TRUE, &closureSize, &closure);PYLITH_CHECK_ERROR(err);
       
       // Filter out non-vertices
       PetscInt numVertices = 0;



More information about the CIG-COMMITS mailing list