dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #01592
LA: [...]
Commit from garth (2005-12-05 11:46 CET)
-----------------
LA:
Add functions to KrylovSolver to choose PETSc preconditioner.
For GMRES,
GMRES solver; // GMRES solver + default preconditioner
GMRES solver(PCILU); // GMRES solver + incomplete LU preconditioner
For KrylovSolver
KrylovSolver solver; // default solver + preconditioner
KrylovSolver solver(KSPBCGS); // BiCGStab + default preconditioner
KrylovSolver solver (KSPBCGS, PCICC); // BiCGStab + incomplete Cholesky precon.
dolfin src/kernel/la/GMRES.cpp 1.16
dolfin src/kernel/la/KrylovSolver.cpp 1.35
dolfin src/kernel/la/dolfin/GMRES.h 1.12
dolfin src/kernel/la/dolfin/KrylovSolver.h 1.17
dolfin src/kernel/la/dolfin/Preconditioner.h 1.6
Follow ups