#include "petscsys.h" PetscErrorCode PetscObjectSetOptions(PetscObject obj,PetscOptions options)Collective on PetscObject
obj | - any PETSc object, for example a Vec, Mat or KSP. | |
options | - the options database, use NULL for default |
Notes: if this is not called the object will use the default options database