petsc-3.7.3 2016-07-24
Report Typos and Errors


Prints the methods available.


#include "petscsys.h" 
PetscErrorCode  PetscFunctionListPrintTypes(MPI_Comm comm,FILE *fd,const char prefix[],const char name[],const char text[],const char man[],PetscFunctionList list,const char def[])
Collective over MPI_Comm

Input Parameters

comm - the communicator (usually MPI_COMM_WORLD)
fd - file to print to, usually stdout
prefix - prefix to prepend to name (optional)
name - option string (for example, "-ksp_type")
text - short description of the object (for example, "Krylov solvers")
man - name of manual page that discusses the object (for example, "KSPCreate")
list - list of types
def - default (current) value

See Also

PetscFunctionListAdd(), PetscFunctionList

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages