slepc-3.14.0 2020-09-30
Report Typos and Errors


Sets the parameters defining the ellipse region.


#include "slepcrg.h" 
PetscErrorCode RGEllipseSetParameters(RG rg,PetscScalar center,PetscReal radius,PetscReal vscale)
Logically Collective on rg

Input Parameters

rg  - the region context
center  - center of the ellipse
radius  - radius of the ellipse
vscale  - vertical scale of the ellipse

Options Database Keys

-rg_ellipse_center  - Sets the center
-rg_ellipse_radius  - Sets the radius
-rg_ellipse_vscale  - Sets the vertical scale


In the case of complex scalars, a complex center can be provided in the command line with [+/-][realnumber][+/-]realnumberi with no spaces, e.g. -rg_ellipse_center 1.0+2.0i

When PETSc is built with real scalars, the center is restricted to a real value.

See Also


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