Set Tol = 0 when boomeramg is used as a preconditioner, This avoids a

a residual computation.
This commit is contained in:
jjones 2002-03-21 01:33:24 +00:00
parent e5a869edb9
commit ba3463e34d

View File

@ -1944,6 +1944,7 @@ main( int argc,
HYPRE_BoomerAMGCreate(&par_precond);
HYPRE_BoomerAMGSetCoarsenType(par_precond, 6);
HYPRE_BoomerAMGSetStrongThreshold(par_precond, 0.25);
HYPRE_BoomerAMGSetTol(par_precond, 0.0);
HYPRE_BoomerAMGSetLogging(par_precond, 1, "sstruct.out.log");
HYPRE_BoomerAMGSetMaxIter(par_precond, 1);
HYPRE_PCGSetPrecond( par_solver,
@ -2100,6 +2101,7 @@ main( int argc,
HYPRE_BoomerAMGCreate(&par_precond);
HYPRE_BoomerAMGSetCoarsenType(par_precond, 6);
HYPRE_BoomerAMGSetStrongThreshold(par_precond, 0.25);
HYPRE_BoomerAMGSetTol(par_precond, 0.0);
HYPRE_BoomerAMGSetLogging(par_precond, 1, "sstruct.out.log");
HYPRE_BoomerAMGSetMaxIter(par_precond, 1);
HYPRE_GMRESSetPrecond( par_solver,