[cig-commits] commit:

Mercurial hg at geodynamics.org
Mon Nov 24 11:59:30 PST 2008


changeset:   145:1879285fb519
user:        LukeHodkinson
date:        Wed Aug 27 05:55:36 2008 +0000
files:       Utils/src/RegularRemesher.c
description:
Was accidentally going into a section of the
code it shouldn't have.


diff -r 731c373d4cd8 -r 1879285fb519 Utils/src/RegularRemesher.c
--- a/Utils/src/RegularRemesher.c	Wed Aug 27 01:57:00 2008 +0000
+++ b/Utils/src/RegularRemesher.c	Wed Aug 27 05:55:36 2008 +0000
@@ -141,7 +141,10 @@ void _RegularRemesher_Remesh( void* _sel
    gen = self->mesh->generator;
    if( strcmp( gen->type, CartesianGenerator_Type ) )
       gen = NULL;
-   if( gen ) {
+   if( gen && (self->contactDepth[0][0] || self->contactDepth[0][1] ||
+               self->contactDepth[1][0] || self->contactDepth[1][1] ||
+               self->contactDepth[2][0] || self->contactDepth[2][1]) )
+   {
       int curInd;
       int ii, d_j;
 



More information about the CIG-COMMITS mailing list