[cig-commits] r4818 - in long/3D/Gale/trunk/src/StGermain: . Discretisation/Geometry/tests

walter at geodynamics.org walter at geodynamics.org
Wed Oct 11 13:45:55 PDT 2006


Author: walter
Date: 2006-10-11 13:45:55 -0700 (Wed, 11 Oct 2006)
New Revision: 4818

Modified:
   long/3D/Gale/trunk/src/StGermain/
   long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/tests/testTensorMultMath.c
Log:
 r2875 at earth:  boo | 2006-10-11 13:42:27 -0700
  r2791 at earth (orig r3779):  KathleenHumble | 2006-08-31 19:01:10 -0700
  changed the definition of solution vector from allocated memory
  array to double[4] to see if this helps remove errorson clusters
  
 



Property changes on: long/3D/Gale/trunk/src/StGermain
___________________________________________________________________
Name: svk:merge
   - 1ef209d2-b310-0410-a72d-e20c9eb0015c:/cig:2874
afb6c753-b9d0-0310-b4e7-dbd8d91cdd35:/trunk/StGermain:3778
   + 1ef209d2-b310-0410-a72d-e20c9eb0015c:/cig:2875
afb6c753-b9d0-0310-b4e7-dbd8d91cdd35:/trunk/StGermain:3779

Modified: long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/tests/testTensorMultMath.c
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/tests/testTensorMultMath.c	2006-10-11 20:45:53 UTC (rev 4817)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Geometry/tests/testTensorMultMath.c	2006-10-11 20:45:55 UTC (rev 4818)
@@ -778,10 +778,9 @@
 		Journal_Printf(stream, "\n/*******************    Test 20   ************************/\n");
 		Journal_Printf( stream, "Test function NonSquareMatrix_MatrixVectorMultiplication \n\n");
 		Journal_Printf( stream, "Tested against solutions at http://www.uni-bonn.de/~manfear/solve_lineq.php\n\n");
-		double* solutionVector;
+		double solutionVector[4];
 		
 		vector[0] = 1; vector[1] = 2; vector[2] = 3;
-		solutionVector = Memory_Alloc_Array(double, 4, "longVector" );
 
 		Journal_PrintNonSquareMatrix(stream, nonSquareMatrixAT, 4, 3);
 		StGermain_PrintNamedVector(stream, vector, 3);
@@ -790,7 +789,6 @@
 
 		StGermain_PrintNamedVector(stream, solutionVector, 4);
 	
-		Memory_Free(solutionVector);
 		Memory_Free(nonSquareMatrixA);
 		Memory_Free(nonSquareMatrixB);
 		Memory_Free(nonSquareMatrixAT);



More information about the cig-commits mailing list