xref: /petsc/include/petscoptions.h (revision 08480c60afa5ef1d2e4e27b9ebdf48b02c6a2186)
1 /* $Id: options.h,v 1.11 1995/09/30 19:31:53 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 OptionsGetScalar(char *,char *,Scalar *);
14 int OptionsGetIntArray(char*,char *,int *,int *nmax);
15 int OptionsGetDoubleArray(char *,char *,double *,int *nmax);
16 int OptionsGetString(char*,char *,char *,int);
17 int OptionsAllUsed();
18 
19 int OptionsSetValue(char*,char*);
20 
21 #endif
22