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

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

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

revision 3641 by lgao, Fri May 13 04:15:29 2011 UTC revision 3642 by caltinay, Thu Oct 27 03:41:51 2011 UTC
# Line 14  Line 14 
14    
15  /**************************************************************/  /**************************************************************/
16    
17  /* Paso: AMG sets-up                                          */  /* Paso: AMG set-ups                                          */
18    
19  /**************************************************************/  /**************************************************************/
20    
# Line 116  Paso_Preconditioner_AMG_Root* Paso_Preco Line 116  Paso_Preconditioner_AMG_Root* Paso_Preco
116        }        }
117  }  }
118    
119  /* applies the preconditioner */  /* Applies the preconditioner. */
120  /* has to be called within a parallel reqion */  /* Has to be called within a parallel region. */
121  /* barrier synchronization is performed before the evaluation to make sure that the input vector is available */  /* Barrier synchronization is performed before the evaluation to make sure that the input vector is available */
122  void Paso_Preconditioner_AMG_Root_solve(Paso_SystemMatrix* A, Paso_Preconditioner_AMG_Root* prec, double* x,double* b)  void Paso_Preconditioner_AMG_Root_solve(Paso_SystemMatrix* A, Paso_Preconditioner_AMG_Root* prec, double* x,double* b)
123  {  {
124               if (prec->localamg != NULL) {               if (prec->localamg != NULL) {
# Line 131  void Paso_Preconditioner_AMG_Root_solve( Line 131  void Paso_Preconditioner_AMG_Root_solve(
131                   Paso_Preconditioner_Smoother_solve(A, prec->amgsubstitute,x,b,prec->sweeps,FALSE);                   Paso_Preconditioner_Smoother_solve(A, prec->amgsubstitute,x,b,prec->sweeps,FALSE);
132          }          }
133  }  }
134    

Legend:
Removed from v.3641  
changed lines
  Added in v.3642

  ViewVC Help
Powered by ViewVC 1.1.26