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