Lines Matching refs:parent
204 PetscCall(MatGetSize(gn->parent->ls_jac, NULL, &n)); in GNComputeHessian()
206 PetscCall(MatGetColumnNorms(gn->parent->ls_jac, NORM_2, cnorms)); in GNComputeHessian()
207 PetscCall(MatGetOwnershipRangeColumn(gn->parent->ls_jac, &cstart, &cend)); in GNComputeHessian()
227 gn->parent->nfuncs = tao->nfuncs; in GNHookFunction()
228 gn->parent->ngrads = tao->ngrads; in GNHookFunction()
229 gn->parent->nfuncgrads = tao->nfuncgrads; in GNHookFunction()
230 gn->parent->nhess = tao->nhess; in GNHookFunction()
231 gn->parent->niter = tao->niter; in GNHookFunction()
232 gn->parent->ksp_its = tao->ksp_its; in GNHookFunction()
233 gn->parent->ksp_tot_its = tao->ksp_tot_its; in GNHookFunction()
234 gn->parent->fc = tao->fc; in GNHookFunction()
235 PetscCall(TaoGetConvergedReason(tao, &gn->parent->reason)); in GNHookFunction()
241 PetscCall(VecCopy(tao->solution, gn->parent->solution)); in GNHookFunction()
244 PetscCall(VecCopy(tao->gradient, gn->parent->gradient)); in GNHookFunction()
260 …if (gn->parent->ops->update) PetscCall((*gn->parent->ops->update)(gn->parent, gn->parent->niter, g… in GNHookFunction()
499 gn->parent = NULL; in TaoDestroy_BRGN()
766 gn->parent = tao; in TaoCreate_BRGN()