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 9 /* returns -1 on error, 0 on not found and 1 on found */ 10 int OptionsHasName(int, char *); 11 int OptionsGetInt(int, char *,int *); 12 int OptionsGetDouble(int, char *,double *); 13 int OptionsGetString(int, char *,char *,int); 14 int OptionsGetScalar(int,char *,Scalar *); 15 16 int OptionsSetValue(char*,char*); 17 18 #endif 19