← Back to team overview

dolfin team mailing list archive

LA: [...]

 

Commit from garth (2005-12-05 22:24 CET)
-----------------

LA:

Change KrylovSolver to use enum types "SolverType" and "PreconditionerType" for controlling the method and preconditioner. A list of methods and preconditioners can be found in KrylovSolver.h. For example, to use the conjugate gradient method with incomplete LU,

KrylovSolver solver(KrylovSolver::cg, KrylovSolver::ilu)

  dolfin  src/kernel/la/GMRES.cpp              1.17
  dolfin  src/kernel/la/KrylovSolver.cpp       1.36
  dolfin  src/kernel/la/dolfin/GMRES.h         1.13
  dolfin  src/kernel/la/dolfin/KrylovSolver.h  1.18