Skip to content

Commit

Permalink
Merge pull request #15231 from tjhei/doc_petsc_snes
Browse files Browse the repository at this point in the history
improve documentation for PETSc SNES
  • Loading branch information
bangerth committed May 17, 2023
2 parents beebf1a + 8f04855 commit 0ca6e8d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions include/deal.II/lac/petsc_snes.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,19 @@ namespace PETScWrappers
std::string options_prefix;

/**
* PETSc solver type.
* PETSc nonlinear solver type. Valid options include "newtonls"
* (Newton with line search), "newtontr" (Newton with Trust
* Region), "nrichardson" (Picard), and many more. See
* https://petsc.org/release/manualpages/SNES/SNESType/ for more
* information.
*/
std::string snes_type;

/**
* Linesearch type.
* Linesearch type. Valid options include "bt" (backtracking) and
* "basic" (no line search). See
* https://petsc.org/release/manualpages/SNES/SNESLineSearchType/
* for more information.
*/
std::string snes_linesearch_type;

Expand Down

0 comments on commit 0ca6e8d

Please sign in to comment.