petsc-3.12.4 2020-02-04
Report Typos and Errors

# MatGetOptionsPrefix

Sets the prefix used for searching for all Mat options in the database.

### Synopsis

    #include "petscmat.h"
    PetscErrorCode MatGetOptionsPrefix(Mat A,const char *prefix[])

Not Collective

### Input Parameter

A -the Mat context

### Output Parameter

prefix -pointer to the prefix string used

### Notes

On the fortran side, the user should pass in a string 'prefix' of sufficient length to hold the prefix.

### See Also

MatAppendOptionsPrefix()

### Level

advanced

### Location

src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages