xref: /petsc/include/petscoptions.h (revision d93a2b8d0462e3d094dea4dad545188cef485173) !
1 /* $Id: options.h,v 1.9 1995/06/07 16:32:14 bsmith Exp bsmith $ */
2 
3 #if !defined(__OPTIONS_PACKAGE)
4 #define __OPTIONS_PACKAGE
5 #include "petsc.h"
6 
7 #include <stdio.h>
8 int OptionsPrint(FILE *);
9 
10 /* returns -1 on error, 0 on not found and 1 on found */
11 int OptionsHasName(char*,char *);
12 int OptionsGetInt(char*,char *,int *);
13 int OptionsGetDouble(char *,char *,double *);
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