PetscOptionsInsert
Inserts into the options database from the command line, the environmental variable and a file.
Synopsis
#include "petsc.h"
int PetscOptionsInsert(int *argc,char ***args,const char file[])
Input Parameters
| argc | - count of number of command line arguments
|
| args | - the command line arguments
|
| file | - optional filename, defaults to ~username/.petscrc
|
Note
Since PetscOptionsInsert() is automatically called by PetscInitialize(),
the user does not typically need to call this routine. PetscOptionsInsert()
can be called several times, adding additional entries into the database.
See Also
PetscOptionsDestroy_Private(), PetscOptionsPrint()
Level:advanced
Location:src/sys/src/objects/options.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/snes/examples/tutorials/ex22.c.html
src/snes/examples/tutorials/ex23.c.html
src/snes/examples/tutorials/ex24.c.html