IPSetType

Selects the type for the IP object.

Synopsis

#include "slepcip.h" 
PetscErrorCode IPSetType(IP ip,const IPType type)
Logically Collective on IP

Input Parameter

ip - the inner product context.
type - a known type

Notes

Two types are available: IPBILINEAR and IPSESQUILINEAR.

For complex scalars, the default is a sesquilinear form (x,y)=x^H*M*y and it is also possible to choose a bilinear form (x,y)=x^T*M*y (without complex conjugation). The latter could be useful e.g. in complex-symmetric eigensolvers.

In the case of real scalars, only the bilinear form (x,y)=x^T*M*y is available.

See Also

IPGetType()

Location: src/ip/ipbasic.c
Index of all IP routines
Table of Contents for all manual pages
Index of all manual pages