xref: /petsc/include/petscoptions.h (revision ee0de897fec99be7c10c7637bbd068d61b2ce625)
1 /* $Id: options.h,v 1.14 1996/01/01 01:05:46 bsmith Exp bsmith $ */
2 /*
3    Application callable routines to determine options set in the options database.
4 */
5 #if !defined(__OPTIONS_PACKAGE)
6 #define __OPTIONS_PACKAGE
7 #include "petsc.h"
8 
9 /* returns -1 on error, 0 on not found and 1 on found */
10 int OptionsHasName(char*,char *,int*);
11 int OptionsGetInt(char*,char *,int *,int*);
12 int OptionsGetDouble(char *,char *,double *,int*);
13 int OptionsGetScalar(char *,char *,Scalar *,int*);
14 int OptionsGetIntArray(char*,char *,int *,int *,int*);
15 int OptionsGetDoubleArray(char *,char *,double *,int *,int*);
16 int OptionsGetString(char*,char *,char *,int,int*);
17 int OptionsAllUsed();
18 
19 int OptionsSetValue(char*,char*);
20 
21 int OptionsPrint(FILE *);
22 
23 #endif
24