1 /* $Id: options.h,v 1.13 1995/11/19 00:57:28 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 *); 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 *); 15 int OptionsGetDoubleArray(char *,char *,double *,int *); 16 int OptionsGetString(char*,char *,char *,int); 17 int OptionsAllUsed(); 18 19 int OptionsSetValue(char*,char*); 20 21 int OptionsPrint(FILE *); 22 23 #endif 24