xref: /petsc/include/petscoptions.h (revision e78c158d3e892157a2f28f9e3058d5e1a81a32a3)
1 
2 #if !defined(_OPTIONS_H)
3 #define _OPTIONS_H
4 #include "petsc.h"
5 
6 int OptionsCreate(int ,char **,char *,char*);
7 int OptionsDestroy();
8 #include <stdio.h>
9 int OptionsPrint(FILE *);
10 
11 /* returns -1 on error, 0 on not found and 1 on found */
12 int OptionsHasName(int, char *);
13 int OptionsGetInt(int, char *,int *);
14 int OptionsGetDouble(int, char *,double *);
15 int OptionsGetString(int, char *,char *,int);
16 int OptionsGetScalar(int,char *,Scalar *);
17 
18 int OptionsSetValue(char*,char*);
19 
20 #endif
21