TaoTermSumGetTermMask#
Get the TaoTermMask of a term in the sum
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoTermSumGetTermMask(TaoTerm term, PetscInt index, TaoTermMask *mask)
Not collective
Input Parameters#
term - a
TaoTermof typeTAOTERMSUMindex - the index for the term from
TaoTermSumSetTerm()orTaoTermSumAddTerm()
Output Parameter#
mask - a bitmask of
TaoTermMaskevaluation methods to mask (e.g. justTAOTERM_MASK_OBJECTIVEor a bitwise-or likeTAOTERM_MASK_OBJECTIVE | TAOTERM_MASK_GRADIENT)
See Also#
TaoTerm: composable objective function terms,
TaoTerm,
TAOTERMSUM,
TaoTermSumSetTermMask()
Level#
developer
Location#
Implementations#
TaoTermSumGetTermMask_Sum() in src/tao/term/impls/sum/taotermsum.c
Index of all TaoTerm routines
Table of Contents for all manual pages
Index of all manual pages