added the new hybrid solver

This commit is contained in:
ulrikey 2002-03-19 19:09:34 +00:00
parent 2769b25bcc
commit 17e30db35d
2 changed files with 7 additions and 1 deletions

View File

@ -541,7 +541,8 @@ main( int argc,
{
arg_index++;
if (solver_id == 0 || solver_id == 1 || solver_id == 3
|| solver_id == 5 || solver_id == 13 || solver_id == 14)
|| solver_id == 5 || solver_id == 13 || solver_id == 14
|| solver_id == 9 || solver_id == 20)
{
relax_weight[0] = atof(argv[arg_index++]);
for (i=1; i < max_levels; i++)

View File

@ -99,6 +99,7 @@ $MPIRUN -np 4 $DRIVER -rhsrand -n 15 15 10 -P 2 2 1 -falgout -27pt
# 6: DS_CGNR
# 7: PILUT_GMRES
# 8: ParaSails_PCG
# 20: Hybrid_PCG
#=============================================================================
$MPIRUN -np 2 $DRIVER -solver 1 -rhsrand
@ -116,3 +117,7 @@ $MPIRUN -np 2 $DRIVER -solver 6 -rhsrand
$MPIRUN -np 2 $DRIVER -solver 7 -rhsrand
$MPIRUN -np 2 $DRIVER -solver 8 -rhsrand
$MPIRUN -np 2 $DRIVER -solver 20 -rhsrand
$MPIRUN -np 2 $DRIVER -solver 20 -cf 0.5 -rhsrand