PetscOptionsEnd#

Ends a set of queries on the options database that are related and should be displayed on the same window of a GUI that allows the user to set the options interactively.

Synopsis#

#include <petscoptions.h>
PetscErrorCode PetscOptionsEnd(void)

Collective on the comm used in PetscOptionsBegin() or obj used in PetscObjectOptionsBegin()

Notes#

Needs to be preceded by a call to PetscOptionsBegin() or PetscObjectOptionsBegin()

This is a macro that handles its own error checking, it does not return an error code.

Fortran Note#

Returns ierr error code per PETSc Fortran API

See Also#

PetscOptionsGetReal(), PetscOptionsHasName(), PetscOptionsGetString(), PetscOptionsGetInt(), PetscOptionsGetIntArray(), PetscOptionsGetRealArray(), PetscOptionsBool() PetscOptionsInt(), PetscOptionsString(), PetscOptionsReal(), PetscOptionsBool(), PetscOptionsName(), PetscOptionsBegin(), PetscOptionsHeadBegin(), PetscOptionsStringArray(), PetscOptionsRealArray(), PetscOptionsScalar(), PetscOptionsBoolGroupBegin(), PetscOptionsBoolGroup(), PetscOptionsBoolGroupEnd(), PetscOptionsFList(), PetscOptionsEList(), PetscObjectOptionsBegin()

Level#

intermediate

Location#

include/petscoptions.h


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages