TaoGetApplicationContext#
Gets the user-defined context for a Tao solver provided with TaoSetApplicationContext()
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoGetApplicationContext(Tao tao, PetscCtxRt ctx)
Not Collective
Input Parameter#
tao - the
Taocontext
Output Parameter#
ctx - a pointer to the user context
Fortran Note#
This only works when the context is a Fortran derived type or a PetscObject. Define ctx with
type(tUsertype), pointer :: ctx
See Also#
Level#
intermediate
Location#
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages