IPSetMatrix

Specifies the matrix representation of the inner product.

Synopsis

#include "slepcip.h" 
PetscErrorCode IPSetMatrix(IP ip,Mat mat)
Collective on IP

Input Parameters

ip - the inner product context
mat - the matrix (may be PETSC_NULL)

Notes

A PETSC_NULL has the same effect as if the identity matrix was passed.

This function is called by EPSSetProblemType() and usually need not be called by the user.

See Also

IPGetMatrix(), IPInnerProduct(), IPNorm(), EPSSetProblemType()

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