[petsc-users] question on PETSc option '-snes_mf_operator'

2012-09-27 Thread Zou (Non-US), Ling
Dear all, I have a question on the PETSc option '-snes_mf_operator'. I am reading thePETSc Users Manual Revision 3.3. On page 100, 2nd paragraph, it says: == However, it allows us to check the analytic Jacobian we

[petsc-users] question on PETSc option '-snes_mf_operator'

2012-09-27 Thread Matthew Knepley
On Thu, Sep 27, 2012 at 2:01 PM, Zou (Non-US), Ling ling.zou at inl.govwrote: Dear all, I have a question on the PETSc option '-snes_mf_operator'. I am reading thePETSc Users Manual Revision 3.3. On page 100, 2nd paragraph, it says:

[petsc-users] question on PETSc option '-snes_mf_operator'

2012-09-27 Thread Zou (Non-US), Ling
Thank you Matt. I've noticed that there is a different option '-snes_fd', and I guess PETSc will use finite difference method for both Jacobian (action) and Preconditioner? By the way, do you have any comments on my another question? One more question, if I pass '-snes' to

[petsc-users] question on PETSc option '-snes_mf_operator'

2012-09-27 Thread Matthew Knepley
On Thu, Sep 27, 2012 at 2:13 PM, Zou (Non-US), Ling ling.zou at inl.govwrote: Thank you Matt. I've noticed that there is a different option '-snes_fd', and I guess PETSc will use finite difference method for both Jacobian (action) and Preconditioner? -snes_fd uses FD to create the entire

[petsc-users] question on PETSc option '-snes_mf_operator'

2012-09-27 Thread Dmitry Karpeev
On Thu, Sep 27, 2012 at 1:22 PM, Matthew Knepley knepley at gmail.com wrote: On Thu, Sep 27, 2012 at 2:13 PM, Zou (Non-US), Ling ling.zou at inl.govwrote: Thank you Matt. I've noticed that there is a different option '-snes_fd', and I guess PETSc will use finite difference method for both

[petsc-users] question on PETSc option '-snes_mf_operator'

2012-09-27 Thread Zou (Non-US), Ling
Thanks again, Matt. Your answers are really helpful to me. Best, Ling On Thu, Sep 27, 2012 at 12:22 PM, Matthew Knepley knepley at gmail.com wrote: On Thu, Sep 27, 2012 at 2:13 PM, Zou (Non-US), Ling ling.zou at inl.govwrote: Thank you Matt. I've noticed that there is a different

[petsc-users] question on PETSc option '-snes_mf_operator'

2012-09-27 Thread Zou (Non-US), Ling
Thank you Dmitry. Yes, I am now fully understanding what '-snes_mf' and '-snes_mf_operator' are doing. Got a bit confused by the '-snes' keyword used in Moose. As you mentioned, this is for input completeness sake, so I guess there are default options as this keyword is used. I will dig out what