On Mon, Nov 16, 2015 at 5:03 AM, Fabio Canesin <fabio.cane...@gmail.com>
wrote:

> Dear developers,
>
> I was reading the presentation on CILAMCE 2014 and there it is mentioned
> that for JFNK methods one should look at MOOSE (which is great) but I'm
> interested in using it on LibMesh alone.
> Iis not FEMSystem using PETSc SNES interface ? Would not only be the case
> of setting the proper command line arguments ?? from MOOSE code I see
> something like these:
>
> [Executioner] type = Steady solve_type = 'PJFNK' preconditioner = 'ILU'#
> petsc_options = '-snes_mf_operator'# petsc_options_iname = '-pc_type
> -pc_hypre_type'# petsc_options_value = 'hypre boomeramg'[]
>
> MultiMooseEnumgetCommonPetscFlags(){ return MultiMooseEnum( 
> "-dm_moose_print_embedding
> -dm_view -ksp_converged_reason -ksp_gmres_modifiedgramschmidt " "-ksp_monitor
> -ksp_monitor_snes_lg-snes_ksp_ew -ksp_snes_ew -snes_converged_reason " 
> "-snes_ksp
> -snes_ksp_ew -snes_linesearch_monitor -snes_mf -snes_mf_operator
> -snes_monitor " "-snes_test_display -snes_view -snew_ksp_ew", "", true);}
>
> Can I just use "-snes_ksp -snes_ksp_ew -snes_mf -snes_mf_operator"
>

I'm not sure what "-snes_ksp" does, but the PetscDiffSolver is SNES-based,
so yes, -snes_mf_operator and -snes_mf should affect it, although note that
those options implement different things (PJFNK and JFNK, respectively).

-- 
John
------------------------------------------------------------------------------
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to