# IPRegister

Adds an inner product to the IP package.

### Synopsis

    #include "slepcip.h"
    PetscErrorCode IPRegister(const char *name,PetscErrorCode (*function)(IP))

Not collective

### Input Parameters

| name | - name of a new user-defined IP
| function | - routine to create context

### Notes

IPRegister() may be called multiple times to add several user-defined inner products.

### See Also

IPRegisterAll()

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