dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02138
Functions in KrylovSolver
Do we need the following functions in KrylovSolver or can we remove
them?
It should be enough to specify the type of solver and preconditioner
in the constructor. I think it's good if we can minimize the number of
functions in the interfaces, in particular any setFoo() functions.
/// Set Krylov method type
void setType(const Type solvertype);
/// Set PETSc preconditioner type
void setPreconditioner(const Preconditioner::Type preconditionertype);
/// Set preconditioner
void setPreconditioner(Preconditioner &pc);
/Anders
Follow ups