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

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

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

revision 2704 by artak, Thu Sep 17 06:17:57 2009 UTC revision 2705 by artak, Thu Oct 1 23:21:10 2009 UTC
# Line 198  void Paso_Solver_solvePreconditioner(Pas Line 198  void Paso_Solver_solvePreconditioner(Pas
198                      if (Paso_checkPtr(xx[i]) && Paso_checkPtr(bb[i])) return;                      if (Paso_checkPtr(xx[i]) && Paso_checkPtr(bb[i])) return;
199                  }                  }
200                                    
201                  #pragma omp parallel for private(i,j) schedule(static)                  /*#pragma omp parallel for private(i,j) schedule(static)*/
202                  for (i=0;i<n;i++) {                  for (i=0;i<n;i++) {
203                      for (j=0;j<A->row_block_size;j++) {                      for (j=0;j<A->row_block_size;j++) {
204                       bb[j][i]=b[A->row_block_size*i+j];                       bb[j][i]=b[A->row_block_size*i+j];
# Line 210  void Paso_Solver_solvePreconditioner(Pas Line 210  void Paso_Solver_solvePreconditioner(Pas
210                  Paso_Solver_solveAMG(prec->amgSystem->amgblock[i],xx[i],bb[i]);                  Paso_Solver_solveAMG(prec->amgSystem->amgblock[i],xx[i],bb[i]);
211                  }                  }
212                                                                
213                  #pragma omp parallel for private(i,j) schedule(static)                  /*#pragma omp parallel for private(i,j) schedule(static)*/
214                  for (i=0;i<n;i++) {                  for (i=0;i<n;i++) {
215                      for (j=0;j<A->row_block_size;j++) {                      for (j=0;j<A->row_block_size;j++) {
216                      x[A->row_block_size*i+j]=xx[j][i];                      x[A->row_block_size*i+j]=xx[j][i];

Legend:
Removed from v.2704  
changed lines
  Added in v.2705

  ViewVC Help
Powered by ViewVC 1.1.26