slepc-3.6.3 2016-03-29
Report Typos and Errors

RGEllipseSetParameters

Sets the parameters defining the ellipse region.

Synopsis

#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

Notes

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

RGEllipseGetParameters()

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