Home
last modified time | relevance | path

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

/petsc/src/tao/unconstrained/impls/bmrm/
H A Dbmrm.c16 PetscReal *tempv = df->tempv, *y = df->y, *g = df->g, *d = df->d, *Qd = df->Qd; in solve() local
32 for (i = 0; i < dim; i++) tempv[i] = -x[i]; in solve()
37 project(dim, a, b, tempv, l, u, x, &lam_ext, df); in solve()
58 project(dim, a, b, y, l, u, tempv, &lam_ext, df); in solve()
63 y[i] = tempv[i] - x[i]; in solve()
86 for (i = 0; i < dim; i++) tempv[i] = alpha * g[i] - x[i]; in solve()
89 project(dim, a, b, tempv, l, u, y, &lam_ext, df); in solve()
534 PetscCall(PetscMalloc1(n, &df->tempv)); in init_df_solver()
606 PetscCall(PetscFree(df->tempv)); in ensure_df_space()
607 PetscCall(PetscMalloc1(n, &df->tempv)); in ensure_df_space()
[all …]
H A Dbmrm.h32 PetscReal *g, *y, *tempv, *d, *Qd, *t, *xplus, *tplus, *sk, *yk; member