[cig-commits] [commit] knepley/upgrade-petsc-interface: Fault: Fixed construction of cohesive cells - I think that whole 'flip' argument is broken (bdcd276)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Oct 28 19:06:22 PDT 2013


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/2ae1c470de06ab80e08036d36acf94a822781550...bdcd276300d9bfb60c6eb1bf5ab7622d170ed3c3

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

commit bdcd276300d9bfb60c6eb1bf5ab7622d170ed3c3
Author: Matthew G. Knepley <knepley at gmail.com>
Date:   Mon Oct 28 21:08:31 2013 -0500

    Fault: Fixed construction of cohesive cells
    - I think that whole 'flip' argument is broken


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

bdcd276300d9bfb60c6eb1bf5ab7622d170ed3c3
 libsrc/pylith/faults/CohesiveTopology.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libsrc/pylith/faults/CohesiveTopology.cc b/libsrc/pylith/faults/CohesiveTopology.cc
index 9604650..5d7a105 100644
--- a/libsrc/pylith/faults/CohesiveTopology.cc
+++ b/libsrc/pylith/faults/CohesiveTopology.cc
@@ -697,7 +697,7 @@ pylith::faults::CohesiveTopology::createInterpolated(topology::Mesh* mesh,
   err = DMLabelClearStratum(label, mesh->dimension());PYLITH_CHECK_ERROR(err);
   // Completes the set of cells scheduled to be replaced
   //   Have to do internal fault vertices before fault boundary vertices, and this is the only thing I use faultBoundary for
-  err = DMPlexLabelCohesiveComplete(dm, label, PETSC_TRUE, faultMesh.dmMesh());PYLITH_CHECK_ERROR(err);
+  err = DMPlexLabelCohesiveComplete(dm, label, PETSC_FALSE, faultMesh.dmMesh());PYLITH_CHECK_ERROR(err);
   err = DMPlexConstructCohesiveCells(dm, label, &sdm);PYLITH_CHECK_ERROR(err);
   err = DMLabelDestroy(&label);PYLITH_CHECK_ERROR(err);
 



More information about the CIG-COMMITS mailing list