#include "petscsys.h" PetscErrorCode PetscOptionsSetValue(PetscOptions options,const char name[],const char value[])Not Collective, but setting values on certain processors could cause problems for parallel objects looking for options.
options | - options database, use NULL for the default global database | |
name | - name of option, this SHOULD have the - prepended | |
value | - the option value (not used for all options, so can be NULL) |
Developers Note: Uses malloc() directly because PETSc may not be initialized yet.