DAAppSetVariableBoundsRoutine

Set a routine that will evaluate the bounds on the variables.

Synopsis

#include "taodaapplication.h" 
int DAAppSetVariableBoundsRoutine(TAO_APPLICATION daapplication, int (*bound)(TAO_APPLICATION,DA,Vec,Vec, void*),void *ctx)
Collective on TAO_APPLICATION

Input Parameters

daapplication - the DA Application object
bound - the function pointer for the bound evaluation routine
ctx - the monitor context

Calling sequence of bound

    bound(TAO_APPLICATION daapplication, DA da,Vec xl, Vec xu, void *ctx);

daapplication - the TAO_APPLICATION context
da - the Distributed Array
xl - vector of upper bounds
xu - vector of lower bounds
ctx - user-defined monitor context set from DAAppSetVariableBoundsRoutine()

Keywords

DA, bounds

See Also

TaoDAAppSolve();

Level:beginner
Location:src/petsctao/gridapplication/interface/daapp.c
TAO DA Application Index
Table of Contents

Examples

src/petsctao/gridapplication/examples/eptorsion3.c.html

Examples

src/petsctao/gridapplication/examples/jbearing3.c.html

Examples

src/petsctao/gridapplication/examples/minsurf3.c.html

Examples

src/petsctao/gridapplication/examples/combustion3.c.html