added HYPRE preconditioner to power iterations

This commit is contained in:
Bryan Herman 2012-04-12 15:03:04 -07:00
parent 34b2f27bf9
commit 8842de3629

View file

@ -116,7 +116,7 @@ call timer_start(time_cmfd)
call KSPSetType(ksp,KSPGMRES,ierr)
! set precursor type
call PCSetType(pc,PCBJACOBI,ierr)
call PCSetType(pc,PCHYPRE,ierr)
call PCSetFromOptions(pc,ierr)
! get all types and print