Frank <[email protected]> writes: > Hi, > > Currently, I am solving a nonlinear equation with some linearization > method. I am thinking to modify it with a nonlinear solver. With PETSc > library, I am confident to do it. I just want to ask those who have > experiences with nonlinear solver if matrix-free method will be faster.
Your question isn't very clear, but it depends on many things. Matrices are good for testing algorithms. Send -log_summary and convergence monitors for a solver configuration that works well for your problem. From that information and a description of your discretization, we can estimate the potential effect of switching to a matrix-free implementation. Don't start out with matrix-free unless you have a lot of experience with the problem class and relevant methods.
pgpFWiFn9M4PW.pgp
Description: PGP signature
