[cig-commits] [commit] knepley/upgrade-petsc-interface: Turn on DMPlexCheckSkeleton for any cellDim (not just cellDim > 1). (4829f3c)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Nov 11 18:52:06 PST 2013


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/5812103f21b9a2b45a604669578c3dff9c627c78...4829f3cf356e30c9c893222f879af32b1f73a245

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

commit 4829f3cf356e30c9c893222f879af32b1f73a245
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Mon Nov 11 18:54:38 2013 -0800

    Turn on DMPlexCheckSkeleton for any cellDim (not just cellDim > 1).


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

4829f3cf356e30c9c893222f879af32b1f73a245
 libsrc/pylith/topology/MeshOps.cc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libsrc/pylith/topology/MeshOps.cc b/libsrc/pylith/topology/MeshOps.cc
index 16e1a51..ae786b9 100644
--- a/libsrc/pylith/topology/MeshOps.cc
+++ b/libsrc/pylith/topology/MeshOps.cc
@@ -94,9 +94,7 @@ pylith::topology::MeshOps::checkTopology(const Mesh& mesh)
   PetscErrorCode err;
   err = DMPlexCheckSymmetry(dmMesh);PYLITH_CHECK_ERROR_MSG(err, "Error in topology of mesh associated with symmetry of adjacency information.");
 
-  if (cellDim > 1) {
-    err = DMPlexCheckSkeleton(dmMesh, isSimplexMesh);PYLITH_CHECK_ERROR_MSG(err, "Error in topology of mesh cells.");
-  } // if
+  err = DMPlexCheckSkeleton(dmMesh, isSimplexMesh);PYLITH_CHECK_ERROR_MSG(err, "Error in topology of mesh cells.");
 } // checkTopology
 
 



More information about the CIG-COMMITS mailing list