[cig-commits] r5872 - in long/3D/Gale/trunk: . src/StGermain/Discretisation/Utils/src

walter at geodynamics.org walter at geodynamics.org
Tue Jan 23 14:52:41 PST 2007


Author: walter
Date: 2007-01-23 14:52:41 -0800 (Tue, 23 Jan 2007)
New Revision: 5872

Modified:
   long/3D/Gale/trunk/
   long/3D/Gale/trunk/src/StGermain/Discretisation/Utils/src/WallVC.c
Log:
 r1494 at earth:  boo | 2007-01-23 14:49:35 -0800
 Remove warning about 3D in 2D



Property changes on: long/3D/Gale/trunk
___________________________________________________________________
Name: svk:merge
   - 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1491
   + 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1494

Modified: long/3D/Gale/trunk/src/StGermain/Discretisation/Utils/src/WallVC.c
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Utils/src/WallVC.c	2007-01-23 22:38:12 UTC (rev 5871)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Utils/src/WallVC.c	2007-01-23 22:52:41 UTC (rev 5872)
@@ -594,9 +594,6 @@
 	switch (self->_wall) {
 	case WallVC_Wall_Front:
 		if ( nDims < 3 || !vertGrid->sizes[2] ) {
-			Journal_Printf( warningStr, "Warning - in %s: Can't build a %s wall VC "
-					"when mesh has no elements in the %s axis. Returning an empty set.\n", __func__,
-					WallVC_WallEnumToStr[self->_wall], "K" );
 			set = IndexSet_New( Mesh_GetDomainSize( self->_mesh, MT_VERTEX ) );
 		}
 		else {
@@ -606,9 +603,6 @@
 			
 	case WallVC_Wall_Back:
 		if ( nDims < 3 || !vertGrid->sizes[2] ) {
-			Journal_Printf( warningStr, "Warning - in %s: Can't build a %s wall VC "
-					"when mesh has no elements in the %s axis. Returning an empty set.\n", __func__,
-					WallVC_WallEnumToStr[self->_wall], "K" );
 			set = IndexSet_New( Mesh_GetDomainSize( self->_mesh, MT_VERTEX ) );
 		}
 		else {
@@ -618,9 +612,6 @@
 			
 	case WallVC_Wall_Top:
 		if ( nDims < 2 || !vertGrid->sizes[1] ) {
-			Journal_Printf( warningStr, "Warning - in %s: Can't build a %s wall VC "
-					"when mesh has no elements in the %s axis. Returning an empty set.\n", __func__,
-					WallVC_WallEnumToStr[self->_wall], "J" );
 			set = IndexSet_New( Mesh_GetDomainSize( self->_mesh, MT_VERTEX ) );
 		}
 		else {
@@ -630,9 +621,6 @@
 			
 	case WallVC_Wall_Bottom:
 		if ( nDims < 2 || !vertGrid->sizes[1] ) {
-			Journal_Printf( warningStr, "Warning - in %s: Can't build a %s wall VC "
-					"when mesh has no elements in the %s axis. Returning an empty set.\n", __func__,
-					WallVC_WallEnumToStr[self->_wall], "J" );
 			set = IndexSet_New( Mesh_GetDomainSize( self->_mesh, MT_VERTEX ) );
 		}
 		else {
@@ -642,9 +630,6 @@
 			
 	case WallVC_Wall_Left:
 		if ( nDims < 1 ) {
-			Journal_Printf( warningStr, "Warning - in %s: Can't build a %s wall VC "
-					"when mesh has no elements in the %s axis. Returning an empty set.\n", __func__,
-					WallVC_WallEnumToStr[self->_wall], "I" );
 			set = IndexSet_New( Mesh_GetDomainSize( self->_mesh, MT_VERTEX ) );
 		}
 		else {
@@ -654,9 +639,6 @@
 			
 	case WallVC_Wall_Right:
 		if( nDims < 1 ) {
-			Journal_Printf( warningStr, "Warning - in %s: Can't build a %s wall VC "
-					"when mesh has no elements in the %s axis. Returning an empty set.\n", __func__,
-					WallVC_WallEnumToStr[self->_wall], "I" );
 			set = IndexSet_New( Mesh_GetDomainSize( self->_mesh, MT_VERTEX ) );
 		}
 		else {



More information about the cig-commits mailing list