TaoTermGetCreateHessianMode#
Get the behavior of TaoTermCreateHessianMatricesDefault().
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoTermGetCreateHessianMode(TaoTerm term, PetscBool *Hpre_is_H, MatType *H_mattype, MatType *Hpre_mattype)
Not collective
Input Parameter#
term - a
TaoTerm
Output Parameters#
Hpre_is_H - (optional) should
TaoTermCreateHessianMatricesDefault()make one matrix forHandHpre?H_mattype - (optional) the
MatTypeto create forHHpre_mattype - (optional) the
MatTypeto create forHpre
See Also#
TaoTerm: composable objective function terms,
TaoTerm,
TaoTermComputeHessian(),
TaoTermCreateHessianMatrices(),
TaoTermCreateHessianMatricesDefault(),
TaoTermSetCreateHessianMode()
Level#
developer
Location#
src/tao/term/interface/taoterm.c
Index of all TaoTerm routines
Table of Contents for all manual pages
Index of all manual pages