[cig-commits] [commit] knepley/upgrade-petsc-interface: Faults: Orient cohesive submesh (522e87e)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Nov 13 13:46:37 PST 2013


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/b7e83fd9f67f543c74ba982334728fbecb75380b...522e87e43b5d9484e404944c5916ff7723026028

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

commit 522e87e43b5d9484e404944c5916ff7723026028
Author: Matthew G. Knepley <knepley at gmail.com>
Date:   Wed Nov 13 15:49:10 2013 -0600

    Faults: Orient cohesive submesh


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

522e87e43b5d9484e404944c5916ff7723026028
 libsrc/pylith/faults/CohesiveTopology.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libsrc/pylith/faults/CohesiveTopology.cc b/libsrc/pylith/faults/CohesiveTopology.cc
index 3791bc2..cbd1068 100644
--- a/libsrc/pylith/faults/CohesiveTopology.cc
+++ b/libsrc/pylith/faults/CohesiveTopology.cc
@@ -671,6 +671,7 @@ pylith::faults::CohesiveTopology::createFaultParallel(topology::Mesh* faultMesh,
 
 
   err = DMPlexCreateCohesiveSubmesh(dmMesh, constraintCell ? PETSC_TRUE : PETSC_FALSE, labelname, materialId, &dmFaultMesh);PYLITH_CHECK_ERROR(err);
+  err = DMPlexOrient(dmFaultMesh);PYLITH_CHECK_ERROR(err);
   std::string meshLabel = "fault_" + std::string(label);
 
   PetscReal lengthScale = 1.0;



More information about the CIG-COMMITS mailing list