petsc-3.8.4 2018-03-24
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