#include "slepcrg.h" PetscErrorCode RGEllipseSetParameters(RG rg,PetscScalar center,PetscReal radius,PetscReal vscale)Logically Collective
rg | - the region context | |
center | - center of the ellipse | |
radius | - radius of the ellipse | |
vscale | - vertical scale of the ellipse |
-rg_ellipse_center | - Sets the center | |
-rg_ellipse_radius | - Sets the radius | |
-rg_ellipse_vscale | - Sets the vertical scale |
When PETSc is built with real scalars, the center is restricted to a real value.
For radius and vscale, you can use PETSC_CURRENT to keep the current value, and PETSC_DETERMINE to set them to a default of 1.