xref: /petsc/include/petscoptions.h (revision 416022c9818a71eecdf06d41c1abd586feaab60e)
1 /* $Id: options.h,v 1.10 1995/07/03 17:25:29 bsmith Exp bsmith $ */
2 
3 #if !defined(__OPTIONS_PACKAGE)
4 #define __OPTIONS_PACKAGE
5 #include "petsc.h"
6 
7 int OptionsPrint(FILE *);
8 
9 /* returns -1 on error, 0 on not found and 1 on found */
10 int OptionsHasName(char*,char *);
11 int OptionsGetInt(char*,char *,int *);
12 int OptionsGetDouble(char *,char *,double *);
13 int OptionsGetIntArray(char*,char *,int *,int *nmax);
14 int OptionsGetDoubleArray(char *,char *,double *,int *nmax);
15 int OptionsGetString(char*,char *,char *,int);
16 int OptionsAllUsed();
17 
18 int OptionsSetValue(char*,char*);
19 
20 #endif
21