Home
last modified time | relevance | path

Searched refs:cntx (Results 1 – 1 of 1) sorted by relevance

/petsc/src/tao/tutorials/
H A Dex4.c446 UserCtx cntx = (UserCtx)ctx; in GradientComplete() local
449 PetscCall(GradientMisfit(tao, x, cntx->workRight[2], ctx)); in GradientComplete()
450 PetscCall(GradientRegularization(tao, x, cntx->workRight[3], ctx)); in GradientComplete()
451 PetscCall(VecWAXPY(V, 1, cntx->workRight[2], cntx->workRight[3])); in GradientComplete()