petsc-3.12.5 2020-03-29
Report Typos and Errors

TaoBoundSolution

Ensures that the solution vector is snapped into the bounds.

Synopsis

#include "petsctao.h" 
PetscErrorCode TaoBoundSolution(Vec X, Vec XL, Vec XU, PetscReal bound_tol, PetscInt *nDiff, Vec Xout)

Input Parameters

Output Parameters

Level

none

Location

src/tao/bound/utils/isutil.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages
XL - lower bound vector
XU - upper bound vector
X - solution vector
X - modified solution vector