/[escript]/trunk/paso/src/Solver_AMG.c
ViewVC logotype

Diff of /trunk/paso/src/Solver_AMG.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2835 by artak, Thu Jan 7 05:16:50 2010 UTC revision 2836 by artak, Mon Jan 11 01:41:29 2010 UTC
# Line 188  Paso_Solver_AMG* Paso_Solver_getAMG(Paso Line 188  Paso_Solver_AMG* Paso_Solver_getAMG(Paso
188       if (verbose) fprintf(stdout,"Stats: Sparsity of the Coarse Matrix with %d non-zeros (%d,%d) in level %d is %.6f\n",A_p->len,A_p->numRows,A_p->numCols,level,sparsity);       if (verbose) fprintf(stdout,"Stats: Sparsity of the Coarse Matrix with %d non-zeros (%d,%d) in level %d is %.6f\n",A_p->len,A_p->numRows,A_p->numCols,level,sparsity);
189            
190            
191       /*if(sparsity>0.01) {       if(sparsity>0.5) {
192        level=0;        level=0;
193       }       }
194       */      
195                    
196       if (level==0 || n<=options->min_coarse_matrix_size) {       if (level==0 || n<=options->min_coarse_matrix_size) {
197           out->coarsest_level=TRUE;           out->coarsest_level=TRUE;

Legend:
Removed from v.2835  
changed lines
  Added in v.2836

  ViewVC Help
Powered by ViewVC 1.1.26