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

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

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

revision 2759 by artak, Thu Nov 19 05:19:47 2009 UTC revision 2767 by artak, Mon Nov 23 06:00:37 2009 UTC
# Line 371  Paso_SparseMatrix* Paso_Solver_getCoarse Line 371  Paso_SparseMatrix* Paso_Solver_getCoarse
371          for(iptrA = A->pattern->ptr[k]; iptrA < A->pattern->ptr[k+1]; ++iptrA) {          for(iptrA = A->pattern->ptr[k]; iptrA < A->pattern->ptr[k+1]; ++iptrA) {
372           l= A->pattern->index[iptrA];           l= A->pattern->index[iptrA];
373           p_lj=0;           p_lj=0;
374          /*This loop has to be replaced by bsearch */          /*This loop can be replaced by bsearch */
375           for(iptrP = P->pattern->ptr[l]; iptrP < P->pattern->ptr[l+1]; ++iptrP) {           for(iptrP = P->pattern->ptr[l]; iptrP < P->pattern->ptr[l+1]; ++iptrP) {
376             m=P->pattern->index[iptrP];             m=P->pattern->index[iptrP];
377             if(m==j) {             if(m==j) {

Legend:
Removed from v.2759  
changed lines
  Added in v.2767

  ViewVC Help
Powered by ViewVC 1.1.26