#include "taodaapplication.h" int DAAppSetConstraintRoutine(TAO_APPLICATION daapplication, int (*f)(TAO_APPLICATION,DA,Vec,Vec, void*),void *ctx)Collective on TAO_APPLICATION
daapplication | - the TAO Application object | |
grad | - the function pointer for the gradient evaluation routine | |
ctx | - the gradient context |
f(TAO_APPLICATION daapplication,DA da, Vec x,Vec r,void *ctx);
daapplication | - the DA_APPLICATION context | |
da | - the Distributed Array | |
x | - input vector | |
r | - constraint vector | |
ctx | - user defined gradient context set from DAAppSetGradientRoutine() |
Level:intermediate
Location:src/petsctao/gridapplication/interface/daapp.c
TAO DA Application Index
Table of Contents