[cig-commits] [commit] knepley/fix-faults-parallel: Small code cleanup. (71bd4cb)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Mon Apr 21 08:11:12 PDT 2014
Repository : ssh://geoshell/pylith
On branch : knepley/fix-faults-parallel
Link : https://github.com/geodynamics/pylith/compare/d3610af3972f293388849911dfbd544eba3bd8b5...71bd4cb87f8874ee77abbb30bdf6986afa62349f
>---------------------------------------------------------------
commit 71bd4cb87f8874ee77abbb30bdf6986afa62349f
Author: Brad Aagaard <baagaard at usgs.gov>
Date: Mon Apr 21 08:11:02 2014 -0700
Small code cleanup.
>---------------------------------------------------------------
71bd4cb87f8874ee77abbb30bdf6986afa62349f
libsrc/pylith/faults/FaultCohesiveLagrange.cc | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libsrc/pylith/faults/FaultCohesiveLagrange.cc b/libsrc/pylith/faults/FaultCohesiveLagrange.cc
index 8b07bbf..9ef9787 100644
--- a/libsrc/pylith/faults/FaultCohesiveLagrange.cc
+++ b/libsrc/pylith/faults/FaultCohesiveLagrange.cc
@@ -1037,9 +1037,7 @@ pylith::faults::FaultCohesiveLagrange::checkConstraints(const topology::Field& s
const int numVertices = _cohesiveVertices.size();
PetscInt fiberDim = 0, numConstraints = 0;
- for(int iVertex = 0; iVertex < numVertices; ++iVertex) {
-
- if (_cohesiveVertices[iVertex].lagrange < 0) continue;
+ for (int iVertex = 0; iVertex < numVertices; ++iVertex) {
const int v_negative = _cohesiveVertices[iVertex].negative;
const int e_lagrange = _cohesiveVertices[iVertex].lagrange;
More information about the CIG-COMMITS
mailing list