Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/utils/lmvm/brdn/
H A Dbadbrdn.c124 Vec p_j, y_j, B0s_j; in BadBroydenRecursiveBasisUpdate() local
137 PetscCall(LMBasisGetVecRead(Y, j, &y_j)); in BadBroydenRecursiveBasisUpdate()
138 PetscCall(VecDot(p_j, y_j, &yjtbjsj)); in BadBroydenRecursiveBasisUpdate()
140 PetscCall(VecAYPX(p_j, -1.0, y_j)); in BadBroydenRecursiveBasisUpdate()
141 PetscCall(LMBasisRestoreVecRead(Y, j, &y_j)); in BadBroydenRecursiveBasisUpdate()
/petsc/src/ksp/ksp/utils/lmvm/sr1/
H A Dsr1.c100 Vec s_j, B0s_j, p_j, y_j; in SR1RecursiveBasisUpdate() local
114 PetscCall(LMBasisGetVecRead(Y, j, &y_j)); in SR1RecursiveBasisUpdate()
115 PetscCall(VecAYPX(p_j, -1.0, y_j)); in SR1RecursiveBasisUpdate()
119 PetscCall(LMBasisRestoreVecRead(Y, j, &y_j)); in SR1RecursiveBasisUpdate()
/petsc/src/ksp/ksp/utils/lmvm/
H A Dlmproducts.c213 Vec y_j; in LMProductsUpdate_Internal() local
217 PetscCall(LMBasisGetVecRead(Y, j, &y_j)); in LMProductsUpdate_Internal()
218 PetscCall(VecDot(y_j, x_i, &dot_true)); in LMProductsUpdate_Internal()
219 PetscCall(VecNorm(y_j, NORM_1, &y_norm)); in LMProductsUpdate_Internal()
228 PetscCall(LMBasisRestoreVecRead(Y, j, &y_j)); in LMProductsUpdate_Internal()
/petsc/src/ksp/ksp/utils/lmvm/dense/
H A Ddenseqn.c1116 Vec y_j; in MatLMVMDDFPUpdateSolveData() local
1123 PetscCall(MatDenseGetColumnVecRead(Yfull, Y_idx, &y_j)); in MatLMVMDDFPUpdateSolveData()
1124 PetscCall(MatDQNApplyJ0Inv(B, y_j, Hy_j)); in MatLMVMDDFPUpdateSolveData()
1125 PetscCall(MatDenseRestoreColumnVecRead(Yfull, Y_idx, &y_j)); in MatLMVMDDFPUpdateSolveData()
1145 Vec y_j, Sty_j; in MatLMVMDDFPUpdateSolveData() local
1147 PetscCall(MatDenseGetColumnVecRead(Yfull, Y_idx, &y_j)); in MatLMVMDDFPUpdateSolveData()
1149 PetscCall(MatMultHermitianTransposeColumnRange(Sfull, y_j, Sty_j, 0, h)); in MatLMVMDDFPUpdateSolveData()
1153 PetscCall(MatDenseRestoreColumnVecRead(Yfull, Y_idx, &y_j)); in MatLMVMDDFPUpdateSolveData()
/petsc/src/dm/impls/plex/
H A Dplexgeometry.c501 PetscReal y_j = PetscRealPart(coords[faces[2 * f + 1] * embedDim + 1]); in DMPlexLocatePoint_Quad_2D_Linear_Internal() local
503 if ((x == x_j) && (y == y_j)) { in DMPlexLocatePoint_Quad_2D_Linear_Internal()
508 if ((y_j > y) != (y_i > y)) { in DMPlexLocatePoint_Quad_2D_Linear_Internal()
509 PetscReal slope = (x - x_j) * (y_i - y_j) - (x_i - x_j) * (y - y_j); in DMPlexLocatePoint_Quad_2D_Linear_Internal()
515 if ((slope < 0) != (y_i < y_j)) ++crossings; in DMPlexLocatePoint_Quad_2D_Linear_Internal()
/petsc/doc/manual/
H A Dtao.md2544 q_k^{(i)}(y_j) = F_i(y_j), \qquad i=1, \ldots, m; \, j=1,\ldots , l_k