[cig-commits] [commit] knepley/fix-faults-parallel: Remove some obsolete (not used) code. (9da3efc)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue May 6 12:16:32 PDT 2014
Repository : ssh://geoshell/pylith
On branch : knepley/fix-faults-parallel
Link : https://github.com/geodynamics/pylith/compare/8db09a41c2c343e14056a2efdabe319d8fa7fe5b...8f8fd96b68466722a83a80eebfcba574c803d3fb
>---------------------------------------------------------------
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