petsc-3.14.5 2021-03-03
Report Typos and Errors

# SNESVISetComputeVariableBounds

Sets a function that is called to compute the variable bounds

### Synopsis

    #include "petscsnes.h"
    PetscErrorCode SNESVISetComputeVariableBounds(SNES snes, PetscErrorCode (*compute)(SNES,Vec,Vec))

### Input parameter

| snes | - the SNES context
| compute | - computes the bounds

### See Also

SNESVISetVariableBounds()

### Level

advanced

### Location

src/snes/impls/vi/vi.c

### Examples

src/snes/tutorials/ex9.c.html
src/snes/tutorials/ex58.c.html

### Implementations

SNESVISetComputeVariableBounds_VI in src/snes/impls/vi/vi.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages