#include "petscsnes.h" PetscErrorCode SNESLineSearchGetOrder(SNESLineSearch linesearch,PetscInt *order)
1 or SNES_LINESEARCH_ORDER_LINEAR | - linear order | |
2 or SNES_LINESEARCH_ORDER_QUADRATIC | - quadratic order | |
3 or SNES_LINESEARCH_ORDER_CUBIC | - cubic order |