Skip to content

Commit

Permalink
Set matix free finite differencing parameter default to ds (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsayad committed Sep 6, 2017
1 parent e68925d commit 13606b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/src/utils/PetscSupport.C
Expand Up @@ -117,10 +117,12 @@ setSolverOptions(SolverParams & solver_params)
{
case Moose::ST_PJFNK:
setSinglePetscOption("-snes_mf_operator");
setSinglePetscOption("-mat_mffd_type", "ds");
break;

case Moose::ST_JFNK:
setSinglePetscOption("-snes_mf");
setSinglePetscOption("-mat_mffd_type", "ds");
break;

case Moose::ST_NEWTON:
Expand Down

0 comments on commit 13606b0

Please sign in to comment.