/[escript]/trunk/paso/src/FCT_Solver.cpp
ViewVC logotype

Diff of /trunk/paso/src/FCT_Solver.cpp

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

revision 4852 by caltinay, Wed Apr 9 03:58:08 2014 UTC revision 4856 by caltinay, Wed Apr 9 06:46:55 2014 UTC
# Line 364  err_t Paso_FCT_Solver_updateNL(Paso_FCT_ Line 364  err_t Paso_FCT_Solver_updateNL(Paso_FCT_
364                }                }
365                /* use BiCGSTab with jacobi preconditioner ( m - omega * L ) */                /* use BiCGSTab with jacobi preconditioner ( m - omega * L ) */
366                paso::util::zeroes(n,du);                paso::util::zeroes(n,du);
367                errorCode = Paso_Solver_BiCGStab(fctp->iteration_matrix, z, du, &cntIter, &tol, pp);                errorCode = paso::Solver_BiCGStab(fctp->iteration_matrix, z, du, &cntIter, &tol, pp);
368    
369                /* errorCode =  Paso_Solver_GMRES(fctp->iteration_matrix, z, du, &cntIter, &tol, 10, 2000, pp); */                /* errorCode =  Paso_Solver_GMRES(fctp->iteration_matrix, z, du, &cntIter, &tol, 10, 2000, pp); */
370                if (options->verbose) printf("Paso_FCT_Solver_updateNL: BiCGStab is completed after %d steps (residual =%e).\n",cntIter, tol);                if (options->verbose) printf("Paso_FCT_Solver_updateNL: BiCGStab is completed after %d steps (residual =%e).\n",cntIter, tol);

Legend:
Removed from v.4852  
changed lines
  Added in v.4856

  ViewVC Help
Powered by ViewVC 1.1.26