PetscObjectSetOptionsPrefix#
Sets the prefix used for searching for all options for the given object in the database.
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscObjectSetOptionsPrefix(PetscObject obj, const char prefix[])
Collective
Input Parameters#
Note#
A hyphen (-) must NOT be given at the beginning of the prefix name. The first character of all runtime options is AUTOMATICALLY the hyphen.
See Also#
PetscOptionsCreate()
, PetscOptionsDestroy()
, PetscObjectAppendOptionsPrefix()
, PetscObjectPrependOptionsPrefix()
,
PetscObjectGetOptionsPrefix()
, TSSetOptionsPrefix()
, SNESSetOptionsPrefix()
, KSPSetOptionsPrefix()
Level#
advanced
Location#
Examples#
src/dm/impls/plex/tutorials/ex10.c
src/dm/label/tutorials/ex1.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex36.c
src/snes/tutorials/ex69.c
src/ts/tutorials/ex11.c
src/ts/tutorials/ex18.c
src/ts/tutorials/ex77.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages