On Mon, Jul 14, 2008 at 7:12 AM, Mathias Nenning <[EMAIL PROTECTED]> wrote:
>
> Also it would be nice to have some direct access to the "ksp"-object to
> change default settings... This is possible in class "PetscLinearSolver"
> but not from its base class "Linearsolver", which is the object given
When I use the command line option
-ksp_type preonly -pc_type lu
I have to set
ierr = KSPSetInitialGuessNonzero (_ksp, PETSC_FALSE);
( line 225 in "petsc_linear_solver.C" )
elsewhere I get the error message
[0]PETSC ERROR: Running KSP of preonly doesn't make sense with nonzero
initial guess