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 Tao solver context

Output Parameter#

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#

src/tao/interface/taosolver.c


Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages