matrix-free methods

  • ex6.c Uses Newton-like methods to solve u`` + u^{2} = f. Different
    matrices are used for the Jacobian and the preconditioner. The code also
    demonstrates the use of matrix-free Newton-Krylov methods in conjunction
    with a user-provided preconditioner. Input arguments are:
    -snes_mf : Use matrix-free Newton methods
    -user_precond : Employ a user-defined preconditioner. Used only with
    matrix-free methods in this example.