TaoGetType#
Gets the current TaoType being used in the Tao object
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoGetType(Tao tao, TaoType *type)
Not Collective
Input Parameter#
tao - the
Taosolver context
Output Parameter#
type - the
TaoType
Note#
type should not be retained for later use as it will be an invalid pointer if the TaoType of tao is changed.
See Also#
TAO: Optimization Solvers, Tao, TaoType, TaoSetType(), PetscObjectTypeCompare(), PetscObjectTypeCompareAny()
Level#
intermediate
Location#
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages