[cig-commits] commit: Do not require a ForceVector to have a non-zero size. Useful if you want to fix the temperature to a function that changes over time

Mercurial hg at geodynamics.org
Wed Mar 10 13:05:09 PST 2010


changeset:   751:db1efb7de63f
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Wed Mar 10 13:03:39 2010 -0800
files:       SLE/SystemSetup/src/ForceVector.c
description:
Do not require a ForceVector to have a non-zero size.  Useful if you want to fix the temperature to a function that changes over time


diff -r 6c8634d2f9a8 -r db1efb7de63f SLE/SystemSetup/src/ForceVector.c
--- a/SLE/SystemSetup/src/ForceVector.c	Wed Mar 10 13:02:06 2010 -0800
+++ b/SLE/SystemSetup/src/ForceVector.c	Wed Mar 10 13:03:39 2010 -0800
@@ -248,7 +248,7 @@ void _ForceVector_Build( void* forceVect
 	
 	/* update the size depending on our now built feVariable */
 	self->localSize = self->feVariable->eqNum->localEqNumsOwnedCount;
-	assert( self->localSize );
+	/* assert( self->localSize ); */
 	
 	/* Allocate the vector */
 	Journal_DPrintfL( self->debug, 2, "Allocating the L.A. Force Vector with %d local entries.\n", self->localSize );



More information about the CIG-COMMITS mailing list