petsc-3.7.3 2016-07-24
Report Typos and Errors

# TaoLineSearchGetType

Gets the current line search algorithm

### Synopsis

    #include "petsctaolinesearch.h"
    PetscErrorCode TaoLineSearchGetType(TaoLineSearch ls, const TaoLineSearchType *type)

Not Collective

### Input Parameter

ls -the TaoLineSearch context

### Output Paramter

type -the line search algorithm in effect

Level:developer
Location: src/tao/linesearch/interface/taolinesearch.c
Index of all TaoLineSearch routines
Table of Contents for all manual pages
Index of all manual pages