petsc-3.11.4 2019-09-28
Report Typos and Errors

PetscOptionsGetAll

Lists all the options the program was run with in a single string.

Synopsis

#include "petscsys.h"   
PetscErrorCode PetscOptionsGetAll(PetscOptions options,char *copts[])
Not Collective

Input Paramter

options -the options database, use NULL for the default global database

Output Parameter

copts -pointer where string pointer is stored

Notes

the array and each entry in the array should be freed with PetscFree()

See Also

PetscOptionsAllUsed(), PetscOptionsView()

Level

advanced

Location

src/sys/objects/options.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages