[cig-commits] commit: When on high verbosity, print out the matrices to solve

Mercurial hg at geodynamics.org
Tue Sep 27 15:58:45 PDT 2011


changeset:   798:44815e34ebed
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Tue Sep 27 15:57:14 2011 -0700
files:       SLE/ProvidedSystems/StokesFlow/src/Stokes_SLE_UzawaSolver.cxx
description:
When on high verbosity, print out the matrices to solve


diff -r 03c1c4e942ca -r 44815e34ebed SLE/ProvidedSystems/StokesFlow/src/Stokes_SLE_UzawaSolver.cxx
--- a/SLE/ProvidedSystems/StokesFlow/src/Stokes_SLE_UzawaSolver.cxx	Wed Sep 21 23:30:19 2011 -0700
+++ b/SLE/ProvidedSystems/StokesFlow/src/Stokes_SLE_UzawaSolver.cxx	Tue Sep 27 15:57:14 2011 -0700
@@ -526,7 +526,9 @@ void _Stokes_SLE_UzawaSolver_Solve( void
 		/* No nice way of viewing Matrices, so commented out as incompatible with
 		 * new 3D decomp at present --Kathleen Humble 30-04-07 
 		 * Matrix_View( sle->kStiffMat->matrix, self->debug ); */
+                MatView( K_Mat, PETSC_VIEWER_STDOUT_WORLD );
 		Journal_DPrintf( self->debug, "G Matrix:\n" );
+                MatView( G_Mat, PETSC_VIEWER_STDOUT_WORLD );
 		if ( D_Mat ) {
 			Journal_DPrintf( self->debug, "D Matrix:\n" );
 		}	



More information about the CIG-COMMITS mailing list