#include "slepcrg.h" PetscErrorCode RGPolygonSetVertices(RG rg,PetscInt n,PetscScalar vr[],PetscScalar vi[])Logically Collective on rg
rg | - the region context | |
n | - number of vertices | |
vr | - array of vertices | |
vi | - array of vertices (imaginary part) |
-rg_polygon_vertices | - Sets the vertices | |
-rg_polygon_verticesi | - Sets the vertices (imaginary part) |
When PETSc is built with real scalars, the real and imaginary parts of the vertices must be provided in two separate arrays (or two lists in the command line). In this case, the region must be symmetric with respect to the real axis.