slepc-3.15.1 2021-05-28
Report Typos and Errors


Determines the endpoints of a rectangle in the complex plane that contains the region.


#include "slepcrg.h" 
PetscErrorCode RGComputeBoundingBox(RG rg,PetscReal *a,PetscReal *b,PetscReal *c,PetscReal *d)
Not Collective

Input Parameters

rg  - the region context

Output Parameters

a,b  - endpoints of the bounding box in the real axis
c,d  - endpoints of the bounding box in the imaginary axis


The bounding box is defined as [a,b]x[c,d]. In regions that are not bounded (e.g. an open interval) or with the complement flag set, it makes no sense to compute a bounding box, so the return values are infinite.

See Also


Location: src/sys/classes/rg/rgbasic.c
Index of all RG routines
Table of Contents for all manual pages
Index of all manual pages