Lines Matching refs:XU

184 PetscErrorCode TaoEstimateActiveBounds(Vec X, Vec XL, Vec XU, Vec G, Vec S, Vec W, PetscReal steple…  in TaoEstimateActiveBounds()  argument
198 if (XU) PetscValidHeaderSpecific(XU, VEC_CLASSID, 3); in TaoEstimateActiveBounds()
204 if (XU) PetscCheckSameType(X, 1, XU, 3); in TaoEstimateActiveBounds()
209 if (XU) PetscCheckSameComm(X, 1, XU, 3); in TaoEstimateActiveBounds()
214 if (XU) VecCheckSameSize(X, 1, XU, 3); in TaoEstimateActiveBounds()
222 PetscCall(TaoBoundSolution(W, XL, XU, 0.0, &nDiff, W)); in TaoEstimateActiveBounds()
236 if (!XL && !XU) { in TaoEstimateActiveBounds()
243 PetscCall(VecGetArrayRead(XU, &xu)); in TaoEstimateActiveBounds()
280 PetscCall(VecRestoreArrayRead(XU, &xu)); in TaoEstimateActiveBounds()
344 PetscErrorCode TaoBoundStep(Vec X, Vec XL, Vec XU, IS active_lower, IS active_upper, IS active_fixe… in TaoBoundStep() argument
368 PetscCall(VecGetSubVector(XU, active_upper, &bound_upper)); in TaoBoundStep()
374 PetscCall(VecRestoreSubVector(XU, active_upper, &bound_upper)); in TaoBoundStep()
405 PetscErrorCode TaoBoundSolution(Vec X, Vec XL, Vec XU, PetscReal bound_tol, PetscInt *nDiff, Vec Xo… in TaoBoundSolution() argument
414 if (XU) PetscValidHeaderSpecific(XU, VEC_CLASSID, 3); in TaoBoundSolution()
416 if (!XL && !XU) { in TaoBoundSolution()
422 PetscCheckSameType(X, 1, XU, 3); in TaoBoundSolution()
425 PetscCheckSameComm(X, 1, XU, 3); in TaoBoundSolution()
428 VecCheckSameSize(X, 1, XU, 3); in TaoBoundSolution()
436 PetscCall(VecGetArrayRead(XU, &xu)); in TaoBoundSolution()
451 PetscCall(VecRestoreArrayRead(XU, &xu)); in TaoBoundSolution()